toggle menu
Icrontic
Categories
Discussions
Best of Icrontic
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Best of Icrontic
Sign In
·
Register
×
Home
›
Science & Tech
Discussion
Creating array with while loop results
Title
Author
Category
(All)
Announcements
Gaming
Team Fortress 2
World of Warcraft
Minecraft
Civilization
Backlog of Shame
Science & Tech
Hardware
Internet & Media
Lifestyle
Movies & TV
Music
Style
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
Creating array with while loop results
ldelgad8
September 2007
edited September 2007
in
Science & Tech
How do you store the results of a while loop as an array, so I can do a min, max, and median.
thank you,
ld
0
Comments
shwaip
bluffin' with my muffin
Icrontian
September 2007
edited September 2007
you'll want to use a variable to keep track of the index:
ind=1; while (whatever) %code answers(ind) = whatever you want; ind = ind + 1; end
0
Sign In
or
Register
to comment.
Comments