How to Create a Multiplication Table in MATLAB Using while Loops
18 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
KSSV
2021 年 2 月 11 日
% Create 7 table
n = 1:13;
m = n.*7;
table = [n;m] ;
fprintf('7 x %d = %d \n',table)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!