plot line between 2 peaks
Mostrar comentarios más antiguos
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 comentario
John BG
el 10 de En. de 2017
can you show the MATLAB code you describe in the question?
Respuestas (1)
KSSV
el 10 de En. de 2017
0 votos
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.
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!