Segmentation of a signal 184148x1

1 view (last 30 days)
SSV
SSV on 13 Oct 2019
Commented: Walter Roberson on 13 Oct 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 ?

Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!