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 ]
231 Solvers
1248 Solvers
Flip the vector from right to left
259 Solvers
177 Solvers
600 Solvers
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply Today