Get a binarized version (only 0s and 1s) of a Matrix, which is assumed to be sparse. Matrix entries which are different from zero are set to one.

binarizeMatrix(A)

Arguments

A

matrix

Value

Matrix binarized