필터 지우기
필터 지우기

Curve at the peak values

조회 수: 1 (최근 30일)
Mepe
Mepe 2019년 3월 16일
댓글: dpb 2019년 3월 17일
For the evaluation of measurement results, a curve should be laid through the maximum values (polynomial or spline). Is there a direct possibility here or must the maximum measured values be read out separately?
Many thanks!
Picture1.png
  댓글 수: 3
dpb
dpb 2019년 3월 17일
[OP's Answer moved to Comment...dpb]
Thanks, with
[pkt,lct] = findpeaks(ChannelE,Frequency,'Threshold',0.8);
this works quite well. What's the best way to create a fitting curve through the points? With polyfit or lsqcurvefit I was not very successful...
Many thanks!
dpb
dpb 2019년 3월 17일
A smoothing spline would likely be the ticket there -- or a N peak mixed Gaussian or somesuch depending upon whether there is some sort of expected shape based on whatever it is the data represent and what the bounding curve is for--altho there's a dichotomy in that the two major peaks with the example "fit" are treated as one while the others with similar spacing are separated. The only difference appears to be the two are of essentially the same magnitude.

댓글을 달려면 로그인하십시오.

채택된 답변

Mepe
Mepe 2019년 3월 17일
Thanks, with
[pkt,lct] = findpeaks(ChannelE,Frequency,'Threshold',0.8);
this works quite well. What's the best way to create a fitting curve through the points? With polyfit or lsqcurvefit I was not very successful...
Many thanks!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by