plot line between 2 peaks

조회 수: 2 (최근 30일)
Tsvi Weiss
Tsvi Weiss 2017년 1월 9일
답변: KSSV 2017년 1월 10일
Hello I got graph of values from excel chart and I want to plot line between 2 peaks: one of them is the last peak on graph and the second is the peak that the line isn't cross the graph itself or got may cause a negative slope of the line.
Thanks much!
  댓글 수: 1
John BG
John BG 2017년 1월 10일
can you show the MATLAB code you describe in the question?

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

답변 (1개)

KSSV
KSSV 2017년 1월 10일
As you know peak values........get the indices of the peak values......once you know indices, you have x and y data in hand. Then you can plot a line. Read about find, findpeaks.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by