Find jumps in Signal take constant area and split signal to different mat files
3 次查看(过去 30 天)
显示 更早的评论
Hey guys,
I have following Signal:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206888/image.png)
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.
回答(2 个)
darova
2019-3-7
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/207344/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/207345/image.png)
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 个评论
darova
2019-3-11
Hard to say. It depends on data, try to change smooth coefficient and filter point if needed.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!