I am unable to display my answers on command window

1 回表示 (過去 30 日間)
Eiman Rana
Eiman Rana 2021 年 9 月 19 日
編集済み: Stephen23 2021 年 9 月 19 日
% Question 1:
a = [3 6 1 9; 6 5 3 7; 7 3 2 6];
disp(a);
% (a)
j = a(1,2);
disp(j);
if i use disp(a) it doesnt show my answer like this:
a =
3 6 1 9
6 5 3 7
7 3 2 6

回答 (1 件)

Stephen23
Stephen23 2021 年 9 月 19 日
編集済み: Stephen23 2021 年 9 月 19 日
a = [3 6 1 9; 6 5 3 7; 7 3 2 6];
display(a)
a = 3×4
3 6 1 9 6 5 3 7 7 3 2 6

カテゴリ

Help Center および File ExchangeTiming and presenting 2D and 3D stimuli についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by