フィルターのクリア

How to convert the following 4D matrix to 2D matrix?

4 ビュー (過去 30 日間)
mohammed mahmoud
mohammed mahmoud 2017 年 10 月 8 日
コメント済み: Walter Roberson 2018 年 6 月 18 日
I want to convert matrix (1,100,100,16384) to 2d matrix
  1 件のコメント
Walter Roberson
Walter Roberson 2017 年 10 月 8 日
What shape would you like the 2D matrix to have?

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

採用された回答

Walter Roberson
Walter Roberson 2017 年 10 月 8 日
reshape(YourMatrix, 100*100, [])
if you want 100*100 rows and 16384 columns as your output
  2 件のコメント
Srikanth V
Srikanth V 2018 年 6 月 18 日
But the element order is not maintained
Walter Roberson
Walter Roberson 2018 年 6 月 18 日
What size of matrix are you starting with, and what size do you want to end up with, and what order do you want the elements to end up in?

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by