how to use output as input in same code
1 回表示 (過去 30 日間)
古いコメントを表示
h = 2
for I = 1:15
E = 0
for el = 1:20
M = 1 +h
E = E + M
end
end
how can I use the new value of E for each iteration?
5 件のコメント
KALYAN ACHARJYA
2019 年 9 月 17 日
編集済み: KALYAN ACHARJYA
2019 年 9 月 17 日
h=2
E=0
for ...
for ...
....
E=E+M % Update E
end
end
Role of I loop ??
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!