954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

matlab help -> variable names

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

eparadis
Newbie Poster
1 post since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You