Segmentation of a signal 184148x1

1 次查看(过去 30 天)
SSV
SSV 2019-10-13
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 ?

回答(1 个)

Star Strider
Star Strider 2019-10-13
See if the buffer function will do what you want.
  1 个评论
Walter Roberson
Walter Roberson 2019-10-13
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()

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by