-
1 Comment
Haoyu Dai
on 30 Apr 2020
function y = cleanUp(x)
y = x;
L=length(y);
for i=1:L
if (y(i)<0)|(y(i)>10)
y(i)=NaN;
end
end
end
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!