How to get exact position (red point)?

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.

답변 (1개)

Orion
Orion 2014년 11월 25일

0 개 추천

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

Vic
Vic 2014년 11월 25일
what if I have many such time series, and each of them has an unknown "time zone", and I wish to locate all red points in just one MATLAB program. Do you think it is possible?
Vic
Vic 2014년 11월 25일
and red points may be max or min...
Orion
Orion 2014년 11월 25일
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.

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

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

Vic
2014년 11월 25일

댓글:

2014년 11월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by