I am managing to only come up with a product of the integer itself * 1, instead of a script that loops until the product is =>500. Help appreciated. See my attempt below;
3 views (last 30 days)
Show older comments
x = [zeros(1, NumberOfAsterisksInEachDirection), linspace(0, width,
NumberOfAsterisksInEachDirection), linspace(0, width,
NumberOfAsterisksInEachDirection),...
ones(1, NumberOfAsterisksInEachDirection)*width];
1 Comment
Kirby Fears
on 24 Nov 2015
Edited: Kirby Fears
on 24 Nov 2015
It's not clear what you're trying to do or what loops have to do with it. Please try to elaborate.
Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!