Cody Problem 25. Remove any row in which a NaN appears
2 views (last 30 days)
I found difficulties with the Problem 25 on Cody here is my solution:
function B = remove_nan_rows(A)
[row, col] = find(isnan(A))
if (i ~=row)
for A=1:10, the algorithm didn't work, can someone help me with figuring out what's wrong.
Thanks in advance!