Hi, I have a problem with my matlab code. The error is: "Function 'diff' is not supported for class 'function_handle'."(adsbygoogle = window.adsbygoogle || []).push({});

I have installed the toolbox Symbolic Math Toolbox after the installation of Matlab, but I think that it works, so my code is this:

Can you see the mistake? Thank you for your help. Bye.Code (Matlab M):

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Problem with Matlab

**Physics Forums | Science Articles, Homework Help, Discussion**