how can i find the value of differentiation? that is f'(2)?
Show older comments
f=@(x) x^2- 4
a=diff(f,x)
a(2)? .... (i am getting error here)
Answers (1)
syms x
f=x^2- 4
a(x)=diff(f,x)
a(2)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!