signal processing (segmentation )

3 views (last 30 days)
eman mohammad
eman mohammad on 20 Oct 2019
Commented: eman mohammad on 21 Oct 2019
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
Daniel M
Daniel M on 20 Oct 2019
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.
eman mohammad
eman mohammad on 21 Oct 2019
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
Daniel M
Daniel M on 21 Oct 2019
The try this
combinedSignal = [sig1(:); sig2(:); sig3(:)]';
eman mohammad
eman mohammad on 21 Oct 2019
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!