finding time of damping graph

i've created a graph that is damping. How can i find the time when it reaches 0?

Answers (1)

t=0:0.1:10;
y=sin(t);
idx=find(y==0) % If y is exactly equal to 0

Categories

Find more on Networks in Help Center and File Exchange

Asked:

on 25 Nov 2012

Community Treasure Hunt

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

Start Hunting!