![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/23954091_1632115601608_DEF.jpg)
Gowtham K
Followers: 0 Following: 0
Feeds
已回答
How do I create a square matrix based on user input?
m=input('row') n=input('column') for i=1:m for j=1:n a(i,j)=input('elements-') end end a=reshape(a,m,n) ...
How do I create a square matrix based on user input?
m=input('row') n=input('column') for i=1:m for j=1:n a(i,j)=input('elements-') end end a=reshape(a,m,n) ...
2 years 前 | 0