Community Profile

photo

Bhupendra Raj Acharya


Last seen: 1 year ago Active since 2020

Statistics

  • First Answer

View badges

Content Feed

View by

Answered
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)

1 year ago | 0