フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how can a loop be done?

2 ビュー (過去 30 日間)
Niki
Niki 2011 年 9 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a Matrix X for example X=rand(100) then I would like to take one column each time and then add another one and each time add one more until all the columns become the original matrix

回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2011 年 9 月 2 日
for j1 = 1:size(X,2)
newMatrix = X(:,1:j1);
% result = fun(newMatrix)
end

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by