% from a curve
조회 수: 1 (최근 30일)
이전 댓글 표시
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
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
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');
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!