how can I use arrayfun to do multiplication of array element by column, say I have a 300X10 array, I want to do simple math of the elements from column 2 to 9, to get: (1-A(:,2)).*(1-A(:,3))… .*(1-A(:,9))? thanks!
MATLAB: Array element multiplication using arrayfun or bsxfun
array functionarray multiplyMATLAB
Best Answer