Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit:

Putting buffer into 2 dimensional array ?

Asked by I Made on 10 Mar 2013

As example i have :


and take example it's output < 3 x 2 int16 >

1 2

3 4

5 6

and i want to store it in array two dimension like :

A = [1 2 3; 4 5 6;]

how can i do that ?


I Made


No products are associated with this question.

2 Answers

Answer by the cyclist on 10 Mar 2013

I don't fully understand your question, especially because your A matrix has different values from your other matrix. But, it sounds like maybe what you are looking for can be done with the reshape() command.

If not, can you please supply some more details?


the cyclist
Answer by Matt J on 10 Mar 2013


Matt J

Contact us