hi any body help me if any body know i am new user of matlab. i have 3 matrix of 2*2. And i want to use the matrix one by one in a funtion one at a time just like loop. what i do i dnt know please help

1 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 10 月 21 日
What do you mean by use ?

サインインしてコメントする。

 採用された回答

Pourya Alinezhad
Pourya Alinezhad 2013 年 10 月 21 日

0 投票

a=[1 2;4 6]
b=[5 6;8 7]
c=[5 8;8 5]
d={a b c};
for i=1:3
x=sin(cell2mat(d(i)))
end

1 件のコメント

sohaib atif
sohaib atif 2013 年 10 月 21 日
Yes now its work.Pourya Alinezhad

サインインしてコメントする。

その他の回答 (1 件)

sohaib atif
sohaib atif 2013 年 10 月 21 日

0 投票

Yes now its work.Pourya Alinezhad
Azzi Abdelmalek i want to use 3 matrix in a loop one by one same like above thanks guys

カテゴリ

ヘルプ センター および File Exchange で Particle & Nuclear Physics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by