From: David Bolin on 15 May 2010 09:27 Hey. Im in the middle of writing a gui based program. In my gui ive got a 5x15 table and am wondering what command i should use to define one 1x15 row of the table as a variable. Thankyou so much.
From: Vikas Malik on 15 May 2010 11:08 "David Bolin" <cruelsinger(a)gmail.com> wrote in message <hsm7fa$h8l$1(a)fred.mathworks.com>... > Hey. > > Im in the middle of writing a gui based program. In my gui ive got a 5x15 table and am wondering what command i should use to define one 1x15 row of the table as a variable. > > Thankyou so much. You can do z = zeros(5,15) or ones(5,15); z1 = z(1,:); z2 = z(2,:); like this
From: David Bolin on 15 May 2010 11:30 thankyou "Vikas Malik" <vikasmalik22(a)gmail.com> wrote in message <hsmdcn$rkr$1(a)fred.mathworks.com>... > "David Bolin" <cruelsinger(a)gmail.com> wrote in message <hsm7fa$h8l$1(a)fred.mathworks.com>... > > Hey. > > > > Im in the middle of writing a gui based program. In my gui ive got a 5x15 table and am wondering what command i should use to define one 1x15 row of the table as a variable. > > > > Thankyou so much. > > You can do > > z = zeros(5,15) or ones(5,15); > > z1 = z(1,:); > z2 = z(2,:); > > like this
|
Pages: 1 Prev: Scale bar and axis changing in contourf and imagesc plots Next: save a mat file in excel |