Find jumps in Signal take constant area and split signal to different mat files

조회 수: 4 (최근 30일)
youjarr
youjarr 2019년 3월 5일
댓글: darova 2019년 3월 11일
Hey guys,
I have following Signal:
I need to split this signal into different mat files.
My problem i have the noise and the transient behaviour.
I need to save the constant "areas" into the different mat files.
In this case I have 7 to 8.
Thanks in advance.
  댓글 수: 7
youjarr
youjarr 2019년 3월 6일
Yes. This is the Y-Axis.
Just Build a vector
t = 1:1:length(signal)
should be the same effect.

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

답변 (2개)

youjarr
youjarr 2019년 3월 7일
Maby an easier question.
How do I get the first value when it reached the next jump? I mean if it gets constant (green lines) that would be the best.2019-03-05_11-42-04_1.png

darova
darova 2019년 3월 7일
I tried to smooth data. Then get every 600th point to compare with noise value and filter.
Then comparing points to find stable areas.
Hard to pick parameters for data (smoothing and filter). Maybe with user interaction it will be a little bit easier to draw those areas. See attached script
  댓글 수: 2
youjarr
youjarr 2019년 3월 11일
Thank you very much for your effort.
I am going to test it later.
But can I adpat this code 1:1 to following data?
2019-03-08_16-29-22.png
Or do I have to change smth. in the code?
darova
darova 2019년 3월 11일
Hard to say. It depends on data, try to change smooth coefficient and filter point if needed.

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

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by