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: ??? Subscripted assignment dimension mismatch.
Replies: 1   Last Post: Oct 17, 2013 9:41 AM

Advanced Search

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

Posts: 1
Registered: 10/17/13
??? Subscripted assignment dimension mismatch.
Posted: Oct 17, 2013 8:49 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

i am having a variable x that belong to struct class, and i want to retrieve all Name fields into a variable u.

>> x

x =

18568x1 struct array with fields:

d=x(1:18568,:).Name =>gives the result that i wish bt in a single variable d and only last value is getting saved

but i want it in the form of a matrix d with size 18568 X 1

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.