Given the matrix A, return B in which all the rows that have one or more NaNs have been removed. So for
A = [ 1 5 8 -3 NaN 14 0 6 NaN ];
then
B = [ 1 5 8 ]
Select every other element of a vector
14039 Solvers
Sum of diagonal of a square matrix
1040 Solvers
Arrange vector in ascending order
483 Solvers
179 Solvers
327 Solvers
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply Today