MATLAB Answers


1 view (last 30 days)
Awais Ali Kolachi
Awais Ali Kolachi on 13 Aug 2020
Commented: Image Analyst on 13 Aug 2020
I have a accelerometer data with 100 sampling frequency.
Data contain Gx Gy and Gz. i want to create a window of 5 seconds each contain 500 samples because sampling frequency is 100Hz.
Window should be 5sec with non overlapping of 10sec. if anybody can help and provide me the script for that. I really be thankful for that?

  1 Comment

Image Analyst
Image Analyst on 13 Aug 2020
Do you mean like
window = ones(500, 1);

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!