Sum the rows
Sum the rows of the given matrix.
Example
x = [ 1 2
3 4 ]
y = [ 3
7 ]
meer dan 3 jaar ago
Solved
Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if
x = [1 3 4 5 8 11];
then return
y = [NaN Na...
meer dan 3 jaar ago
Solved
true or false
if the matrix has a zero, return true. else, return false