Conversion of a 1×n matrix to n×n matrix in Matlab

Status
Not open for further replies.

Marshal

Junior Member level 2
Joined
Jan 13, 2005
Messages
21
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,281
Activity points
184
Hi all;
is ther any way in matlab to convert a 1×n matrix to n×n matrix
thx.
 

Re: convert

hi
nif you are going to convert a 1×n matrix to m×m matrix, where n=m^2.
it is possible by use of reshape command . but if you want to convert a 1×n matrix to n×n matrix you should explain more.
by.
 

    Marshal

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…