Thread: Libsvm
View Single Post
  #12  
Old 08-30-2012, 10:55 AM
TonySuarez TonySuarez is offline
Member
 
Join Date: Jul 2012
Location: Lisboa, Portugal
Posts: 35
Default Re: Libsvm

In the link about Octave (hope it is == to Matlab in this respect)


http://octave.1599824.n4.nabble.com/...td1632472.html

there is:

------------

>I would like to read an ascii data file with 3 columns of integers
>separated by a space, and an unknown number of rows into 3 vectors or a
>matrix with 3 columns.

Try

data = load ("-ascii", "yourfile.txt")

Ben

-------------

HTH
Reply With Quote