フィルターのクリア

Using structure in loop with different fields

2 ビュー (過去 30 日間)
naman
naman 2015 年 6 月 13 日
コメント済み: Azzi Abdelmalek 2015 年 6 月 13 日
Hi
I have two loops
for i = 1:m
for j = 1:n
hh = call_some_function
end
end
and hh is a structure with three different fields. I want to use hh for all i and j so that I can use it somewhere. How can I do it ?
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2015 年 6 月 13 日
your question is not clear

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

採用された回答

Adam
Adam 2015 年 6 月 13 日
hh(i,j) = call_some_function( i, j )

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by