-
1 Comment
Laza Álmos
on 27 Mar 2020
x = [1:10 NaN];
y_correct = [ 1:10 10];
assert(isequal(replace_nans(x),y_correct))
c =
1 2 3 4 5 6 7 8 9 10 NaN
Output argument "y" (and maybe others) not assigned during call to "replace_nans".
Error in Test4 (line 3)
assert(isequal(replace_nans(x),y_correct))
why wont this pass?
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!