Running the 7 blocks

On running 7 blocks of message. I get 1:28 matrix everytime(I have done certain steps in the middle). It is shown below [1:28] [1:28] : : [1:28]-7th block I want all these in overall 1 matrix of size 7:28. Is it possible?

回答 (1 件)

Image Analyst
Image Analyst 2016 年 10 月 3 日

0 投票

Try reshape on your 1-D message vector to turn it into a 2D one.
message2d = reshape(message1d, [7, 28]);
If it's not the right order, try transposing things or reversing the 7 and 28.

2 件のコメント

kritika adhikari
kritika adhikari 2016 年 10 月 3 日
Thank you so much. One more thing, is it possible to reshape bigger size matrix into smaller one.
ALBERT ALEXANDER STONIER
ALBERT ALEXANDER STONIER 2016 年 10 月 3 日
You can reshape the size of the matrix using the function 'reshape'

この質問は閉じられています。

質問済み:

2016 年 10 月 3 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by