reading data from plots

3 visualizzazioni (ultimi 30 giorni)
RB
RB il 20 Lug 2016
Risposto: KSSV il 21 Lug 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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by