How to calculate the largest difference between peaks?

조회 수: 2 (최근 30일)
Emilia Butters
Emilia Butters 2022년 1월 6일
답변: Star Strider 2022년 1월 6일
Hi! I have the following graph which is just a graphical representation of a 700 x 3 matrix in which each column is a line in the graph (red, blue, green) and the rows are timepoints. I want to find out what the largest change in concentration is ie. the biggest difference between any two consecutive peaks. How do I do this? Thank you!

답변 (1개)

Star Strider
Star Strider 2022년 1월 6일
The findpeaks function can produce the ‘prominence’ value of each peak as the fourth output, p. I would use that value to determine the peaks’ magnitude.
After that the question becomes a bit ambiguous. It becomes difficult to determine what the intended result is, since there are so many curves plotted. For example, are the ‘consecutive peaks’ on the same or different curves, and how is ‘consecutive’ defined?
.

카테고리

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

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by