Hi all,
I am a total mathlab newbie and hence am having trouble with even the simplest of things.
i have an m file which contains just the following 3 lines
% test func
function y = f1(x,c)
y = x*x - c
when i "run" this i get an error message
"??? Input argument 'x' is undefined.
Error in ==> C:\f1.m
On line 2 ==> y = x*x - c "
i have no clue why i am getting this.
any help would be really appreciated.
alnerdy