Re: Function '*' not defined for variables of class 'int16'.
- From: Dan Hensley <somewhere@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 12:59:03 -0500
On Mon, 30 Apr 2007 11:29:49 -0400, kimskams80 wrote:
I have define a Matrix of 8430X8430 of int16 (same problem occur for
int8)
When I multiply this matrix with a vector ,it gives error
Function '*' not defined for variables of class 'int16'.
As the error states, Mathworks does not supply a method that allows you
to matrix multiply int16 (or int8) variables. If you want to multiply
them you'll need to cast them to different data types, say double.
This is a limitation of Matlab that would be really nice if Mathworks
would work on fairly quickly. Integer datatypes have been around for a
while now, but we are still quite limited in what we can do with them.
Dan
.
- Follow-Ups:
- Re: Function '*' not defined for variables of class 'int16'.
- From: Steve Eddins
- Re: Function '*' not defined for variables of class 'int16'.
- References:
- Function '*' not defined for variables of class 'int16'.
- From: kimskams80
- Function '*' not defined for variables of class 'int16'.
- Prev by Date: Re: fzero and splines in matlab
- Next by Date: Solve a big problem
- Previous by thread: Function '*' not defined for variables of class 'int16'.
- Next by thread: Re: Function '*' not defined for variables of class 'int16'.
- Index(es):