Adding integer to specifc matrix columns using bsxfun
1 view (last 30 days)
Show older comments
Michiel Op De Beeck
on 15 Jun 2018
Commented: Michiel Op De Beeck
on 15 Jun 2018
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?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!