필터 지우기
필터 지우기

Plotting heatmap of FWHM

조회 수: 1 (최근 30일)
Varghese
Varghese 2022년 11월 7일
답변: Devesh Bhasin 2022년 11월 9일
Suppose I have a matrix with each column representing a spectral data for a particular point on a sample.
Therefore each matrix represents a line(collection of points). Now I have many such matrices(lines) scanning
the entire sample. How can I plot the FWHM of spectral data at each points (columns) of all the matrices(lines)
as a heatmap.(one axis being points and othere axis being lines).

답변 (1개)

Devesh Bhasin
Devesh Bhasin 2022년 11월 9일
You can use the ‘findpeaks’ function with the ‘WidthReference’ arument set to ‘halfheight’.
The ‘Determine Peak Widths’ example on the ‘findpeaks’ documentation page demonstrates the measurement of widths using half height as reference. The following is the documentation link:

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by