Prev: reshape matrix
Next: Memory leak using spmd
From: Asman on 20 Jan 2010 11:10 Hi, I have an array of dimension: 240 x 320 Instead of having the above 2D array, I want the same data to be in a 3D array of dimension: 64 x 16 x3 cheers Azi
From: Matt J on 20 Jan 2010 11:19 "Asman " <azi88(a)hotmail.co.uk> wrote in message <hj79te$pja$1(a)fred.mathworks.com>... > Hi, > > I have an array of dimension: 240 x 320 > Instead of having the above 2D array, I want the same data to be in a > 3D array of dimension: 64 x 16 x3 I'll assume you really mean 64x16x75 >> x=rand(240,320); >> reshape(x,64,16,[]);
From: kinor on 20 Jan 2010 11:28 "Asman " <azi88(a)hotmail.co.uk> wrote in message <hj79te$pja$1(a)fred.mathworks.com>... > Hi, > > I have an array of dimension: 240 x 320 > Instead of having the above 2D array, I want the same data to be in a > 3D array of dimension: 64 x 16 x3 > > cheers > > Azi hi Azi help reshape cheers kinor
|
Pages: 1 Prev: reshape matrix Next: Memory leak using spmd |