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!!!

Answers (0)

Categories

Find more on Embedded Coder in Help Center and File Exchange

Asked:

on 10 Mar 2012

Community Treasure Hunt

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

Start Hunting!