Once I have located the peaks of a spectrum, how do I determine the uncertainty of their postion?
조회 수: 6 (최근 30일)
이전 댓글 표시
If I use this code to determine the peaks and their positions, how do I determine the uncertainty of the position? I am told the software Peak Fit will do this but I do not want to have to buy it since I know it can be done in Matlab.
load sunspot.dat
year = sunspot(:,1);
relNums = sunspot(:,2);
findpeaks(relNums,year)
xlabel('Year')
ylabel('Sunspot Number')
title('Find All Peaks')
댓글 수: 0
답변 (1개)
Kwin
2016년 10월 25일
I think you can only determine uncertainty of something if you have multiple measurements of it (the more the better). If you only have a sample size of one, you can't say anything. If you have more you could use std(), which calculated the standard deviation of your multiple measurements.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!