Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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  
Kristin

Posts: 67
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$1@newscl01ah.mathworks.com>...
> 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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.