The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Copy double array values to cell array
Replies: 2   Last Post: Jan 2, 2013 3:05 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
Registered: 11/4/12
Copy double array values to cell array
Posted: Jan 1, 2013 6:00 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi, I would like to copy the values in a double
array of 2by2 to a cell array of 3by3. Ii want my double array values to start
filling my cell array from row 2 up to the
last row but i'm getting an error. Check my code:
a{2:end,:}=b(:,:); What is wrong with my code? I would be very grateful if you could let it
get to the makers of Matlab for me.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.