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

2 次查看(过去 30 天)
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

回答(1 个)

Tala
Tala 2022-3-29
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 个评论
Natalia  Karikoga
Thank you for your response, I’ve tried that. let me try rephrase my question I’m trying to create a moving window for a data set of force against time.
Tala
Tala 2022-3-30
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by