フィルターのクリア

Extract a sub-matrix from a very big matrix

2 ビュー (過去 30 日間)
Ajay Ganti
Ajay Ganti 2018 年 2 月 13 日
コメント済み: Ajay Ganti 2018 年 2 月 13 日
I have a matrix of size 112 x 1200. I want to separate them into 6 matrices each of size 112 x 200. How can i do it?

採用された回答

Birdman
Birdman 2018 年 2 月 13 日
reshape(a,[],200,6)
  2 件のコメント
Ajay Ganti
Ajay Ganti 2018 年 2 月 13 日
Thanks for the solution. when i applied reshape(a,[],200,6), it became as 112 x 200 x 6; Now what i want each 112 x 200 in separate variables like a1, a2, a3, a4, a5, a6. Please help
Ajay Ganti
Ajay Ganti 2018 年 2 月 13 日
Thank you, i got it by doing as a1=a(:,:,1); and so on..

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by