MATLAB Answers

I Made

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 ?



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?


Answer by Matt J
on 10 Mar 2013



Join the 15-year community celebration.

Play games and win prizes!

Learn more
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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!