data type
John W. Eaton
jwe at octave.org
Thu Jun 4 14:32:50 CDT 2009
On 4-Jun-2009, serosole at yahoo.it 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
More information about the Help-octave
mailing list