% from a curve
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
lucas
am 6 Dez. 2013
Kommentiert: lucas
am 7 Dez. 2013
hello
i got one curve plotted that i maded using pwelch and i want to get one specific value (at 95% of the curve)
how do i get that?
thx
1 Kommentar
Wayne King
am 6 Dez. 2013
pwelch produces an estimate of the power spectral density, so what do you mean by 95%. I think you need to clarify 95% of what?
Akzeptierte Antwort
Image Analyst
am 6 Dez. 2013
% Define the value we're looking for in our data, callled "theCurve".
threshold = 0.95 * max(theCurve); % or whatever you want.
% Find where this happens the first time.
theIndex = find(yourCurve > threshold, 1, 'first');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differentiation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!