help-octave
[Top][All Lists]
Advanced

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

R: data type


From: Carlo Rossi
Subject: R: data type
Date: Thu, 4 Jun 2009 20:25:38 +0000 (GMT)

actually I use Octave and when I can't, I use Matlab; this is matlab; I 
supposed it could be a mistake possible with Octave too..

--- Gio 4/6/09, John W. Eaton <address@hidden> ha scritto:

> Da: John W. Eaton <address@hidden>
> Oggetto: data type
> A: address@hidden
> Cc: address@hidden
> Data: Giovedì 4 giugno 2009, 21:32
> On  4-Jun-2009, address@hidden
> wrote:
> 
> | Helo,
> |  using a function I found on line I got this error:
> | 
> | ??? Error using ==> minus
> | Integers can only be combined with integers of the same
> class, or scalar doubles.
> | 
> | Error in ==> fld at 68
> | S1 =
> (data.X(:,inx1)-m1*ones(1,n1))*(data.X(:,inx1)-m1*ones(1,n1))';
> | 
> | Error in ==> myFLD at 61
> |            model = fld(tr);
>
> | trying to explain...
> |  model = fld(tr);
> | 
> | fld wants a struct. So I tried to build a struct:
> |   tr = struct('X', uint16( mtdata ), 'y', 1);
> 
> That looks like a Matlab error message.  Are you using
> Matlab or
> Octave?
> 
> jwe
> 


      




reply via email to

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