フィルターのクリア

2D non-Square Matrix to 2D square matrix

3 ビュー (過去 30 日間)
Manoj Kumar
Manoj Kumar 2019 年 4 月 27 日
コメント済み: Manoj Kumar 2019 年 4 月 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
  3 件のコメント
madhan ravi
madhan ravi 2019 年 4 月 27 日
instead of nan() use zeros()
Manoj Kumar
Manoj Kumar 2019 年 4 月 30 日
Thanks a lot !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by