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: Trouble with cell2mat
Replies: 1   Last Post: Mar 19, 2013 7:25 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  

Posts: 69
Registered: 2/22/12
Re: Trouble with cell2mat
Posted: Mar 19, 2013 7:25 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Matthew Little" wrote in message <kh4gbq$nqo$>...
> I'm trying to to convert a cell with 7500661x1 data points into a matrix. Each data point has a same format.
> However when I try to use cell2mat or cellfun, I get the same error:
> Error using cat
> Dimensions of matrices being concatenated are not consistent.
> Error in cell2mat (line 84)
> m{n} = cat(1,c{:,n});
> I was wondering if anyone could enlighten me as to what I am doing wrong.
> Thanks in advance.

Have you tried:
F = [mycell{:}]?

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.