reshape an array of un even matrix

y = 2000x1 (size)
y = 38 132 3 214 61 254 77 64 ........
how to reshape to
y = 250x1 (size)

 Accepted Answer

out=reshape(y,250,8)

4 Comments

the size of the output matrix is 250X8 but i want it as 250X1
What do you mean by reshape, maybe you mean something else?
sir i have an matrix of size 250X1 and i converted it in to binary then modulated and then transmitted but i received and then demodulated i got the matrix size is 2000X1 but i need that matrix should be 250X1
Explain what this 2000x1 array contains and how can we get just 250 elements

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!