2D non-Square Matrix to 2D square matrix
3 views (last 30 days)
Show older comments
How to make a matrix A with diamension m x n , m,n>1 to a square matrix ?
0 Comments
Accepted Answer
madhan ravi
on 27 Apr 2019
Edited: madhan ravi
on 27 Apr 2019
Wanted = nan(length(A));
Wanted(1:numel(A)) = A
3 Comments
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!