reading data from plots

5 views (last 30 days)
RB
RB on 20 Jul 2016
Answered: KSSV on 21 Jul 2016
I want to determine the time duration between the first and the last instant when the y value for the (t,y) plot becomes 1% of the maximum y vale; (t may have mutiple values when y becomes 1% of max);I can find max value of y with indexmax = find(max(y) == y); ymax = y(indexmax); need help with the code; thanks

Accepted Answer

KSSV
KSSV on 21 Jul 2016
use
idx= find(y==ymax*1/100); % 1 % of maximum value
doc find

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!