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: how to make rows and columns from excel files? please help
Replies: 12   Last Post: Nov 4, 2009 5:40 PM

Advanced Search

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

Posts: 12
Registered: 11/3/09
how to make rows and columns from excel files? please help
Posted: Nov 3, 2009 8:14 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

'Game' 'January' 'February' 'March' 'April' 'May' 'June'
'iKitty' 75] 254 1235 1820 2114 1600
'ShootEmUp' 3584] 4588 9421 10588 12788 16889

okay i have this. i know how to put in rows and columns for iKitty and ShootemUP.

[numbers, text, everything] = xlsread(fileName);

iKitty = numbers(1,:);
shootEmUp = numbers(2,:);

but i need to figure out how if there was more data add(such as new game) how can i use a for loop to put everything in row and columns?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2009. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Goodwin College of Professional Studies.