Mathlab loops questıons about new starters
Ältere Kommentare anzeigen
Write a program which asks the user to enter their name and N and integer, and displays that name N times. See the help of input to read strings.
Run 1:
Enter name: Matlab
Enter N: 3
Matlab
Matlab
Matlab
1 Kommentar
Rik
am 29 Mär. 2021
If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 29 Mär. 2021
1 Stimme
REad about the function input.
Kategorien
Mehr zu Loops and Conditional Statements 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!