% from a curve

2 ビュー (過去 30 日間)
lucas
lucas 2013 年 12 月 6 日
コメント済み: lucas 2013 年 12 月 7 日
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 件のコメント
Wayne King
Wayne King 2013 年 12 月 6 日
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?

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2013 年 12 月 6 日
% 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 件のコメント
lucas
lucas 2013 年 12 月 7 日
ty mate!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParametric Spectral Estimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by