matlab help -> variable names

Reply

Join Date: Jun 2005
Posts: 1
Reputation: eparadis is an unknown quantity at this point 
Solved Threads: 0
eparadis eparadis is offline Offline
Newbie Poster

matlab help -> variable names

 
0
  #1
Jun 6th, 2005
Hi,
New to Matlab, having a slight problem figuring this one out.
I'm reading in a series of matlab structures entitled 'v1', 'v2', etc..., needing to plot some info in these structures.
Not sure about the best way to do it, so far:

for i = 1:100
n1 = join('','v', i );
name{i}= load (char(n1));
end

Now i need to get into a certain column of all of these:
name(1,1).v1.one(:,1,1)
name(1,2).v2.one(:,1,1)
name(1,3).v3.one(:,1,1)
Not sure how to create a loop that will let me put all these columns into one array, instead of having them stuck in this structure....or maybe there's a better way to start from the beginning
Thanks a mil
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Legacy and Other Languages Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC