How to get exact position (red point)?

3 visualizaciones (últimos 30 días)
Vic
Vic el 25 de Nov. de 2014
Comentada: Orion el 25 de Nov. de 2014
Please see the attached file. It is a time series plotted from a very long row vector (1x10000), and I want to locate the position (red point) where a "large" fluctuation occurs. Any MATLAB function or simple way to do it? Thanks.

Respuestas (1)

Orion
Orion el 25 de Nov. de 2014
If you know the "time zone" where you have this minimum, just use min on this interval.
something like :
[Value,Index] = min(YourTimeSeriesValues(2500:4500));
  3 comentarios
Vic
Vic el 25 de Nov. de 2014
and red points may be max or min...
Orion
Orion el 25 de Nov. de 2014
Then you're gonna need to analyse the entire vectors.
see extrema, you'll get all the locals min and max.
But then, it's up to you to treat them the way you need it.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by