I'm new to Matlab and would like to create a moving window for average for contraction force against time data set. Would appreciate any help

3 views (last 30 days)
hi i'm new to Matlab and would like to create a moving window for average for contraction force against time data set. Would appreaciate any help

Answers (1)

Tala
Tala on 29 Mar 2022
I am not sure if I understand what you need! If you want to calculate the moving avarage, try this.
M = movmean(yoursignal,k);
k is the number of point in your window
  2 Comments
Tala
Tala on 30 Mar 2022
your question is not clear (at least to me :) ). Moving window could take several shapes based on your need. you could reshape your signal. I suggest explain what you wanna do in more details, so you could get a better help

Sign in to comment.

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by