Centering Matrix Culumn Data

6 ビュー (過去 30 日間)
Wahyu A
Wahyu A 2021 年 1 月 18 日
コメント済み: Wahyu A 2021 年 1 月 19 日
Hy, Everyone. I tried print data matrix in the command windows MATLAB and the results are not centered with numbers.
can anyone help me to fix this ? :)
Thanks :)

採用された回答

madhan ravi
madhan ravi 2021 年 1 月 18 日
ii = 33
ii = 33
x = randi([0, 1], 4) * ii % they are automatically centered xD
x = 4×4
0 0 0 33 0 0 0 33 0 0 33 0 0 0 0 33
  1 件のコメント
Wahyu A
Wahyu A 2021 年 1 月 19 日
thanks sir

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by