Hi. For a = [m n] matrix, where each element value is 0 or 1. I want to get the 2's complement of rows depending on the first element value of a row. If a(m,1) = 1, then 2's complement will be performed.
How this 2's complement operation can be performed?
Any advice would be appreciated.
Best Answer