How to calculate mean Workspace data continuously
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I want to calculate mean Workspace data continuously The data name is Xposition_0 ~ Xposition_99 in Workspace Total 100 data as following picture
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
example: M_0=the mean of the Xposition_0 M_1=the mean of the Xposition_1 . . .
It's my code
for b=0:99
M_(b)=mean(Xposition_(b));
end
How can i change this code?
THANKS~
0 个评论
回答(2 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!