How to Create a Multiplication Table in MATLAB Using while Loops
19 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
i want answer like this
7*1=7
.
.
.
.
7*12=84
help me
0 Kommentare
Akzeptierte Antwort
KSSV
am 11 Feb. 2021
% Create 7 table
n = 1:13;
m = n.*7;
table = [n;m] ;
fprintf('7 x %d = %d \n',table)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!