2D non-Square Matrix to 2D square matrix

3 次查看(过去 30 天)
How to make a matrix A with diamension m x n , m,n>1 to a square matrix ?

采纳的回答

madhan ravi
madhan ravi 2019-4-27
编辑:madhan ravi 2019-4-27
Wanted = nan(length(A));
Wanted(1:numel(A)) = A

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by