How do I use cdiff function in Matlab 2020?

조회 수: 4 (최근 30일)
Yasamin Nouri Jelyani
Yasamin Nouri Jelyani 2020년 8월 22일
답변: madhan ravi 2020년 8월 22일
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

채택된 답변

madhan ravi
madhan ravi 2020년 8월 22일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by