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

3 commentaires

KALYAN ACHARJYA
KALYAN ACHARJYA le 20 Oct 2019
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.
eman mohammad
eman mohammad le 21 Oct 2019
i sketched Exactly what i want to do ..
mt.png

Connectez-vous pour commenter.

 Réponse acceptée

Daniel M
Daniel M le 21 Oct 2019
Modifié(e) : Daniel M le 21 Oct 2019

1 vote

If you want them sequentially, just put them back together using
combinedSignal = [sig1 sig2 sig3]; % etc... sigN

3 commentaires

eman mohammad
eman mohammad le 21 Oct 2019
Modifié(e) : eman mohammad le 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(:)]';
eman mohammad
eman mohammad le 21 Oct 2019
really thank you Daniel
this what i need

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by