Returning the Matrix, Row and Column of Matrix (Basic Mat Lab)?

1 次查看(过去 30 天)
For the questions is there anyway to make the answer looks more clean or better coding?
Mat Lab Answers 2.jpg
A(1,3)
B = [1:10; 11:20; 21:30; 31:40; 41:50; 51:60; 61:70; 71:80; 81:90; 91:100; 101:110; 111:120; 121:130; 131:140;]

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-8-11
B=reshape([1:140],[10 14])'
  8 个评论

请先登录,再进行评论。

更多回答(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