Effacer les filtres
Effacer les filtres

% from a curve

1 vue (au cours des 30 derniers jours)
lucas
lucas le 6 Déc 2013
Commenté : lucas le 7 Déc 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 commentaire
Wayne King
Wayne King le 6 Déc 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?

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 6 Déc 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');
  1 commentaire
lucas
lucas le 7 Déc 2013
ty mate!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by