I have these 2 vectors:
alpha = 1 1 1 1 1 1 1 1 1 f_uv = 193 193 194 192 193 193 190 189 191
And when I do this:
alphaf_uv = alpha * f_uv'
I get an error message:
"??? Error using ==> mtimes Integers can only be combined with integers of the same class, or scalar doubles."
The interesting part is that this error does not appear if I define the same vectors in the console and try to multiply it.
alpha determined by me, and f_uv obtained from some pixels in the PNG image.
math vector matlab
Red33mer
source share