help-octave
[Top][All Lists]
Advanced

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

Re: uint8 problem


From: Søren Hauberg
Subject: Re: uint8 problem
Date: Sun, 24 May 2009 11:15:01 +0200

lør, 23 05 2009 kl. 19:27 +0000, skrev Carlo Rossi:
> Hello,
> I have a problem: I need to use "svmtrain" function; do to it I loaded
> a matrix very big but their value are uint8; instead svmtrain gets an
> error saying that it accepts only single or double.
> 
> what do you suggest for this?
> 

How about converting your data to 'single' or 'double'? You can do that
by typing

  data = single (data);

or

  data = double (data);

BTW. from where did you get the 'svmtrain' function? Is it part of any
Octave-Forge package?

Søren



reply via email to

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