Segmentation of a signal 184148x1

2 visualizzazioni (ultimi 30 giorni)
SSV
SSV il 13 Ott 2019
Commentato: Walter Roberson il 13 Ott 2019
I have a signal x(n)= 184148x1,
Fs=1000
I need to do the segmentation of this signal by each signal contain 600 samples,
I tried to do with the reshape function but the I couldnt match the number of elements.
after segmentation I am planing to get the mean, max. values for each segment.
Is there any method to segmentize this signal ?

Risposte (1)

Star Strider
Star Strider il 13 Ott 2019
See if the buffer function will do what you want.
  1 Commento
Walter Roberson
Walter Roberson il 13 Ott 2019
You will need to decide how you want to handle the final segment, which will have only 548 original samples. buffer() will pad it out to 600, but of course that will affect mean() and std()

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by