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: matrix to vector of structure of vectors
Replies: 1   Last Post: Feb 7, 2013 9:25 AM

Advanced Search

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

Posts: 1,266
Registered: 10/24/08
Re: matrix to vector of structure of vectors
Posted: Feb 7, 2013 9:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Juan Marcos " <marcos04@imperial.ac.uk> wrote in message <kf0atk$rq9$1@newscl01ah.mathworks.com>...
> Hi,
>
> I have seen similar posts, but I have not been able to solve this specific problem.
>
> Given some matrixes with the same size: a(m,n), b(m,n) and c(m,n), is it possible to assign their different rows to a vector of structures like:
>
> data(m).a(n)
> data(m).b(n)
> data(m).c(n)
>
> without using a loop?
>
> Thank you very much for your help.


Why on earth do you want to do this? And why without loops?

~ Jos



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.