Community Profile

photo

Konrad Brine


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Answered
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 ...

4 years ago | 0

Question


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...

4 years ago | 1 answer | 0

1

answer

Question


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...

4 years ago | 1 answer | 0

1

answer

Question


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...

4 years ago | 2 answers | 0

2

answers

Question


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...

4 years ago | 2 answers | 0

2

answers