Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
obtaining the maximum values from the series
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
I have two series of readings (time, x) and (time, y). Both graphs have cyclic nature which respect to time. With peak and trough in random and different time interval. I want to find the the lag between maximum x and maximum y (each peaks) from the series and plot it against time. Can you help with that?
0 comentarios
Respuestas (2)
  Sean de Wolski
      
      
 el 3 de Abr. de 2013
        doc findpeaks
The problem with looking for the derivative to be zero is that this will almost never happen with real data unless you are saturating to some level. Instead, look for where the derivative changes sign()
2 comentarios
  Sean de Wolski
      
      
 el 4 de Abr. de 2013
				Use the threshold option. Or find all of the peaks and then pick the best ones from that.
  Image Analyst
      
      
 el 4 de Abr. de 2013
        Like I said in your duplicate question, if you want all the local peaks left out, then just use max() -- this will find the one global max.
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


