Putting buffer into 2 dimensional array ?

As example i have :
frame=buffer(x,3);
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 ?

답변 (2개)

the cyclist
the cyclist 2013년 3월 10일

0 개 추천

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?

카테고리

도움말 센터File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

질문:

2013년 3월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by