Multiply image with vector
2 views (last 30 days)
Hello is there a function in Matlab where I could multiply an NxM image with a vector ?
I would do something like this :
>> vec = [1,2,3];
>> vec = reshape(vec,[1,1,3]);
>> img = [1,1;1,1];
>> imgrgb = dimmulty(3,vec,img);//imgrgb is a 2x2x3 image
What I am searching is the dimmulty function !