Effacer les filtres
Effacer les filtres

i have a while loop i wanna set the condition so it does 'while the array has less than 10 elements it runs'.

1 vue (au cours des 30 derniers jours)
i have an array i = []; how do i code so that while i has less than 10 elements it runs.

Réponse acceptée

Roger Stafford
Roger Stafford le 11 Mar 2015
while length(i) < 10
.....

Plus de réponses (0)

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by