Help! i'm new
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi guy, i'm a newbie and havent know a lot about Matlab yet. i'm having trouble with a question which i have to display the phrase here we go loop the loop 6 times using for-loop and diplay command, can you guys help me out, please
0 commentaires
Réponses (1)
KSSV
le 18 Mar 2019
Read about fprintf
for i = 1:6
fprintf('Here we go the loop %d\n',i)
end
2 commentaires
madhan ravi
le 18 Mar 2019
Modifié(e) : madhan ravi
le 18 Mar 2019
No loop is needed for this trivial task and obviously this is homework.
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!