cell to matrix #3

  • Follow


hi,

how to convert a cell array into a matrix??
i mean i hv r{1}= 2 4 6
r{2}=3 5 7
r{3}=9 8 0 nd so on..
how can i convert r{1} into a matrix of [2 4 6] and 
similarly for r{2} nd the others..

please help, its urgent 
thanks 
0
Reply pragya.garg (12) 9/23/2007 1:34:03 PM

"pragya garg" <pragya.garg@gmail.com> wrote in message
<fd5q0b$skc$1@fred.mathworks.com>...
> hi,
> 
> how to convert a cell array into a matrix??
> i mean i hv r{1}= 2 4 6
> r{2}=3 5 7
> r{3}=9 8 0 nd so on..
> how can i convert r{1} into a matrix of [2 4 6] and 
> similarly for r{2} nd the others..
> 
> please help, its urgent 
> thanks 

Hi,

Please check this:
help cell2mat

HTH,
Yang
0
Reply zhyang99 (123) 9/23/2007 1:38:45 PM


1 Replies
50 Views

(page loaded in 0.081 seconds)


Reply: