Centering Matrix Culumn Data

조회 수: 3 (최근 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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by