Simulink For Iterator

Im trying to use the for iterator in simulink an dI have found that I don't know what the heck I'm doing. Can someone in magic land help. heres what I want
mu = [.3 .6]
[a1 a2] = size(mu)
for i = 1:a2
f(1,i) = mu^2;
end
screen shots would be AWESOME!!!

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEmbedded Coder についてさらに検索

質問済み:

2012 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by