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) ...
대략 4년 전 | 0
