can text next to input be different in each loop?
Ältere Kommentare anzeigen
for i =1 : 5
fprintf('Enter Height %d', i)
x=input('');
end
is there a neater way to write this code ?
i.e : use one function only
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!