Derivative of symbolic funtion at a specific value
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Ahmed Elkady
il 22 Set 2012
Commentato: Mohammad Tauquir Iqbal
il 10 Lug 2018
I have a symbolic function of variable "x"
Function = @(x) 8-4.5*(x-sin (x));
say I need to get the derivative at x=5
what should i do?
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 22 Set 2012
Modificato: Azzi Abdelmalek
il 22 Set 2012
Function = @(x) 8-4.5*(x-sin (x));
Function(5)
%derivative
Function_d = @(x) diff('8-4.5*(x-sin (x))');
x=5; eval(Function_d(1))
4 Commenti
Azzi Abdelmalek
il 22 Set 2012
Modificato: Azzi Abdelmalek
il 22 Set 2012
try this
Function_d = @(x) diff('8-4.5*(x-sin (x))');
x=5; eval(Function_d(1))
Più risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!