Re: Function '*' not defined for variables of class 'int16'.



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
.