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) ...
3 years 前 | 0