signal processing (segmentation )

After i segment a signal to 5 or 7 segments ...
how i can make these segments ( segments with different length) a one signal ??

3 个评论

Can you elaborate more with examples?
If you want them sequentially, just put them back together using
combinedSignal = [sig1 sig2 sig3]; % etc... sigN
If you want them averaged, then you have to make them the same size by decimating, resampling, interpolating, extrapolating, etc. Depends what you want.
i sketched Exactly what i want to do ..
mt.png

请先登录,再进行评论。

 采纳的回答

Daniel M
Daniel M 2019-10-21
编辑:Daniel M 2019-10-21
If you want them sequentially, just put them back together using
combinedSignal = [sig1 sig2 sig3]; % etc... sigN

3 个评论

Thanks Daniel
but this solution does not make the segments as one signal
I get 3 signals when plot the combinedSignal :
**what i try to do is removing some segments of the raw signal and then redefin the rest segments as one signal .
The try this
combinedSignal = [sig1(:); sig2(:); sig3(:)]';
really thank you Daniel
this what i need

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by