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 Comments

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

Sign in to comment.

 Accepted Answer

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

3 Comments

eman mohammad
eman mohammad on 21 Oct 2019
Edited: eman mohammad on 21 Oct 2019
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

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!