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

3 Kommentare

KALYAN ACHARJYA
KALYAN ACHARJYA am 20 Okt. 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 am 21 Okt. 2019
i sketched Exactly what i want to do ..
mt.png

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Daniel M
Daniel M am 21 Okt. 2019
Bearbeitet: Daniel M am 21 Okt. 2019

1 Stimme

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

3 Kommentare

eman mohammad
eman mohammad am 21 Okt. 2019
Bearbeitet: eman mohammad am 21 Okt. 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 am 21 Okt. 2019
really thank you Daniel
this what i need

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by