Matlab Error- fplot();
- by udsha
>> fplot(fh,[-2 4])
??? Undefined function or variable "e".
Error in ==> myfun at 3
Y(:,2) = e(:).^x;
Error in ==> fplot at 102
x = xmin; y = feval(fun,x,args{4:end});
I tried to plot two function using this m file.
function Y = myfun(x)
Y(:,1) = 3*x;
Y(:,2) = e(:).^x;