How to return value to zero before index of specific element in matrix?
2 views (last 30 days)
I have a matrix (m*n), in each row i have a specific element that i want all element before it to be set to zero.
I extracted the index of specific element in column vector "V" . all i need now is to return values before this index "0".