plot line between 2 peaks
显示 更早的评论
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
2017-1-10
can you show the MATLAB code you describe in the question?
回答(1 个)
KSSV
2017-1-10
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!