hi , i'm trying to make a simple loop which is give me a useless syntax between what i need , please how can i remove ('ans=') thanks anyway
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
sofiane benhamza
il 21 Set 2020
Commentato: Ameer Hamza
il 23 Set 2020
for k=1:20
sprintf('<div> DIV %d </div>',k)
end
it gives :
ans =
<div> DIV 18 </div>
ans =
<div> DIV 19 </div>
ans =
<div> DIV 20 </div>
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
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!