patrick.r
Newbie level 1
Code:
function y=draft(x)
C=25200;
B=-242.5;
R=3101.122;
y=(x^3)/C + (x^2)/B + x/R - 1;
x0=3101.122;
solution = fzero(draft,x0);
in line 5 that defines y, the error says that there are not enough input arguments. I've even tried a know code that should have worked but gave me the same error any insight would be helpful on how to fix it
Last edited by a moderator: