toggle menu
Icrontic
Categories
Discussions
Best of Icrontic
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Best of Icrontic
Sign In
·
Register
×
Home
›
Nerdery
Discussion
MATLAB - Please Help!!!!!!!!!!!
Title
Author
Category
(All)
Announcements
Gaming
Team Fortress 2
World of Warcraft
Minecraft
Backlog of Shame
Nerdery
Hardware
Software
Movies & TV
Lifestyle
Music
Fashion
Food & Drink
Fitness
Home & Auto
Community
Events
Trading Post
Folding@Home
search subcategories
search archived
Tags
What to search
discussions
comments
polls
Date within
1 day
3 days
1 week
2 weeks
1 month
2 months
6 months
1 year
of
Examples: Monday, today, last week, Mar 26, 3/26/04
Search
MATLAB - Please Help!!!!!!!!!!!
mypeace
October 2008
edited October 2008
in
Nerdery
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?
0
Comments
shwaip
bluffin' with my muffin
Icrontian
October 2008
edited October 2008
...
run it?
0
LobStoR
October 2008
edited October 2008
shwaip
wrote:
run it?
Agreed... add a line to display what iteration you're on, and run it.
Thinking like this is fundamental to learning a language. Test and observe (adding extra lines to allow you to see what's happening, if necessary).
0
Sign In
or
Register
to comment.
Comments
run it?
Agreed... add a line to display what iteration you're on, and run it.
Thinking like this is fundamental to learning a language. Test and observe (adding extra lines to allow you to see what's happening, if necessary).