f is my imput function and i have to find the first and the second derivate.
I tried to define
df=diff(f); f2=diff(f,2);f1=inline (f);df1=inline(df);df2=inline (f2);
but appears
Error using inline (line 51)Input must be a string." Error in convergefinal (line 11)"df1=inline(df);
What could it be?
Best Answer