Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

two questions about mupad

3 views (last 30 days)
lankao
lankao on 5 Dec 2011
Closed: MATLAB Answer Bot on 20 Aug 2021
There is a problem I come across:
how to make the tangential line disappear at the end of this animation?
f:=x->sin(x):
T:=2*PI:
p1:=plot::Function2d(sin(x),x=-PI..4*PI):
p2:=plot::Line2d([x-T/16,f(x)-f'(x)*T/16],[x+T/16,f(x)+f'(x)*T/16],x=-T/14..11*T/10.5,LineColor=RGB::Red):
plot(p1,p2)
Any suggestion will be appreciated.
  1 Comment
Walter Roberson
Walter Roberson on 16 Dec 2011
I do not understand which animation is being referred to ?

Answers (0)

Community Treasure Hunt

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

Start Hunting!