help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


From: PhilipNienhuis
Subject: Re: (no subject)
Date: Sat, 24 Oct 2015 01:44:13 -0700 (PDT)

Jonathan Camilleri wrote
> Any idea what is wrong with the following statement please, and, what can
> I
> do to separate data sets so that they can be processed?
> 
> Code samples preferred, original data sourced from
> http://archive.ics.uci.edu/.
> 
> GNU Octave, version 4.0.0
> Copyright (C) 2015 John W. Eaton and others.
> This is free software; see the source code for copying conditions.
> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
> FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.
> 
> Octave was configured for "i686-w64-mingw32".
> 
> Additional information about Octave is available at http://www.octave.org.
> 
> Please contribute if you find this software useful.
> For more information, visit http://www.octave.org/get-involved.html
> 
> Read http://www.octave.org/bugs.html to learn how to submit bug reports.
> For information about changes from previous versions, type 'news'.
> 
>>> A = [5.1,3.5,1.4,0.2,Iris-setosa
> 4.9,3.0,1.4,0.2,Iris-setosa
> 4.7,3.2,1.3,0.2,Iris-setosa
> :
> :
> 6.5,3.0,5.2,2.0,Iris-virginica
> 6.2,3.4,5.4,2.3,Iris-virginica
> 5.9,3.0,5.1,1.8,Iris-virginica
> ]
> error: 'Iris' undefined near line 1 column 22

Try with:
>> A = [5.1,3.5,1.4,0.2,Iris-setosa ...
4.9,3.0,1.4,0.2,Iris-setosa ...
4.7,3.2,1.3,0.2,Iris-setosa ...
:
:
5.9,3.0,5.1,1.8,Iris-virginica ...
]

i.e., three consecutive dots after each line.

Philip



--
View this message in context: 
http://octave.1599824.n4.nabble.com/no-subject-tp4673093p4673099.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]