how to calculate wavelength of texture ?
조회 수: 7 (최근 30일)
이전 댓글 표시
I have the texture the wavelength as in the figure attachment. I want to calculate the distance from one peak to one peak as show in the figure. How can I calculate it ? thank you very much
댓글 수: 0
채택된 답변
Star Strider
2022년 1월 24일
Consider using the smoothdata function to eliminate the high-frequency noise. After that, first, use the detrend function to remove the varying baseline (this makles the peak amplitudes and location determinations more reliable), then use findpeaks or islocalmax to locate the peaks. (There are other options if detrend does not produce acceptable results, however it is always the first option I use.)
댓글 수: 12
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!