I would like to add the integer 1 to every element in a matrix, except for the elements in the first column. I would like to use the function bsxfun since the matrix I wish to add 1 to is very large. What would be the correct syntax for this?
MATLAB: Adding integer to specifc matrix columns using bsxfun
bsxfunintegermatrixmatrix indexing
Best Answer