How to Create a Multiplication Table in MATLAB Using while Loops
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yalaw M.
el 11 de Feb. de 2021
Respondida: KSSV
el 11 de Feb. de 2021
i want answer like this
7*1=7
.
.
.
.
7*12=84
help me
0 comentarios
Respuesta aceptada
KSSV
el 11 de Feb. de 2021
% Create 7 table
n = 1:13;
m = n.*7;
table = [n;m] ;
fprintf('7 x %d = %d \n',table)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!