필터 지우기
필터 지우기

% from a curve

조회 수: 1 (최근 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 CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by