reading data from plots

3 Ansichten (letzte 30 Tage)
RB
RB am 20 Jul. 2016
Beantwortet: KSSV am 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by