hi, I have this matrices : u=[0;0;0;0;NaN;NaN;NaN;NaN;NaN;NaN;NaN;NaN] and up=[2;4;5;3;1;7;3;41] I wanna replace nan in "u" matrix with the variants of "up" matrix please answer to my question if you can , I really need the answer immediately, thanks
MATLAB: Replacing NaN with variable data
change nannan
Best Answer