Hi, i have a small function with 2 vectors
alpha =
1 1 1 1 1 1 1 1 1
f_uv =
193 193 194 192 193 193 190 189 191
and i get the error message:
"??? Error using ==> mtimes
Integers can only be combined with integers of the same class, or scalar doubles."
when i try to do this:
alphaf_uv = alpha * f_uv'.
The interesting part is, that this error doesnt appear, if i define the same vectors in the console and try the multiplication there.
alpha is defined by me and f_uv is obtained from some pixels in a png image.