derivative in Matlab-Symbolic Toolbox
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
How can I get such a derivative in Matlab-Symbolic Toolbox ?
Well as the derived member x '.
y = sin(x)
y´=x´*cos(x)
Thank you for any help.
0 Kommentare
Antworten (2)
Wayne King
am 18 Feb. 2013
Bearbeitet: Wayne King
am 18 Feb. 2013
syms x
y = sin(2*pi*x);
diff(y)
% returns
% 2*pi*cos(2*pi*x)
In your example, the derivative of sin(x) with respect to x is not
x*cos(x), it's just cos(x)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Number Theory 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!