mypeace
15 Oct 2008, 5:17am
Define
>> a=1:12
How many times do each of the following loops execute?
for i=a
i.^2
end
for i=a'
i.^2
end
Would you please explain the steps?
>> a=1:12
How many times do each of the following loops execute?
for i=a
i.^2
end
for i=a'
i.^2
end
Would you please explain the steps?