Find jumps in Signal take constant area and split signal to different mat files
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
7 commentaires
Réponses (2)
darova
le 7 Mar 2019
![](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 commentaires
darova
le 11 Mar 2019
Hard to say. It depends on data, try to change smooth coefficient and filter point if needed.
Voir également
Catégories
En savoir plus sur Printing and Saving dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!