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: read a csv
Replies: 7   Last Post: Dec 13, 2012 11:04 AM

Advanced Search

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

Posts: 9
Registered: 12/7/12
read a csv
Posted: Dec 13, 2012 4:54 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Eleftheria Paidousi" <fridomaki@yahoo.gr> wrote in message <kaaisk$8gv$1@newscl01ah.mathworks.com>...
> i have a .csv file with mixed data and i want to process it with matlab , delete some rows or columns only under some conditions , How can i do it?! I tried textscan but i think that i can change no element .... What should i do?!?!



try:
a=importdata(filename);
b=a.textdata(cellnumber:cellnumber,1);

or
name=xlsread(filename,'A19:X8778')



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.