How do I use cdiff function in Matlab 2020?

4 Ansichten (letzte 30 Tage)
Yasamin Nouri Jelyani
Yasamin Nouri Jelyani am 22 Aug. 2020
Beantwortet: madhan ravi am 22 Aug. 2020
I have a function to calculate velocity:
>> x = [0:0.05:20];
>> y = cos(t);
>> velocity = cdiff(y,0.05);
I get the following error:
Unrecognized function or variable 'cdiff'
I am using MATLAB 2020.
I wanted to find the derivative of the function, but it says cdiff is not a function. I was wondering if I need to import a module for cdiff to work

Akzeptierte Antwort

madhan ravi
madhan ravi am 22 Aug. 2020

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by