フィルターのクリア

How to calculate mean Workspace data continuously

1 回表示 (過去 30 日間)
BB
BB 2012 年 10 月 2 日
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
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~

回答 (2 件)

BB
BB 2012 年 10 月 2 日
THE PICTURE <http://ppt.cc/ZBND>

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 2 日
Xposition_=rand(100,10)
M_=mean(Xposition_)

カテゴリ

Help Center および File ExchangeSolar Power についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by