Feeds
답변 있음
diff(f) saying "Undefined function 'diff' for input arguments of type 'function_handle'." and diff(f(x)) giving"Undefined function or variable 'x'."
Figured it out entirely thanks to Walter Robinson. syms x; df=matlabFunction(diff(f(x))); X=repelem(Xlist,2); %Creating the ...
diff(f) saying "Undefined function 'diff' for input arguments of type 'function_handle'." and diff(f(x)) giving"Undefined function or variable 'x'."
Figured it out entirely thanks to Walter Robinson. syms x; df=matlabFunction(diff(f(x))); X=repelem(Xlist,2); %Creating the ...
6년 초과 전 | 0
질문
diff(f) saying "Undefined function 'diff' for input arguments of type 'function_handle'." and diff(f(x)) giving"Undefined function or variable 'x'."
I am trying to differentiate an equation f(x) which is input as as function_handle (e.g: @(x) x^2) and evaluate at different poi...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
natural cubic spline interpolation
I need to write a function that takes a list of x values and an equations as parameters and outputs a 4xn matrix made out of the...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
write a function that takes any equation as an input
I saw that similar questions were asked previously by they were way too specific to be helpful for me. I need to write a functi...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
lagrangian polynomial function giving the incorrect answer
I have to write a function that gives the lagrangian interpolating polynomial estimation for a point, given a set of points. He...
6년 초과 전 | 답변 수: 2 | 0

