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;

1 visualizzazione (ultimi 30 giorni)
x = [zeros(1, NumberOfAsterisksInEachDirection), linspace(0, width,
NumberOfAsterisksInEachDirection), linspace(0, width,
NumberOfAsterisksInEachDirection),...
ones(1, NumberOfAsterisksInEachDirection)*width];

Risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by