syms x ;
a = cos(x); b=diff(a); clear x; x=pi/6; then I want to acuire b for x?? so when I run program result mus be -sin(pi/6)=-0.5 Please HElp me...Thanks for your interests...

1 Comment

"My question is that" is not an appropriate title

Sign in to comment.

 Accepted Answer

b=subs(b,x)

1 Comment

Feridun
Feridun on 28 Sep 2013
thank you very much. I have been working on this issue for 2 days. and soon you helped me:) thanks...

Sign in to comment.

More Answers (0)

Categories

Find more on Functions in Help Center and File Exchange

Asked:

on 28 Sep 2013

Commented:

on 28 Sep 2013

Community Treasure Hunt

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

Start Hunting!