How to take derivative of a function

1 次查看(过去 30 天)
hi, please can you help me to find derivative of the following .
x = t; y = sin(t);
z =cos(t)
% for the range-5 <= t <= +5
I tried to use diff function but it doesnt work.Any suggestions please

回答(1 个)

Star Strider
Star Strider 2018-6-25
If you have the Symbolic Math Toolbox, use that version of diff (link).

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by