Removes missing values jointly from 2 vectors.
1,1K download
Aggiornato 27 apr 2006

Nessuna licenza

Removes missing (NaN) values from 2 vector series, either as a function of the missing values in one, the other, or both jointly. Written originally in V. 4, but should work in earlier versions of Matlab.

Cita come

Karsten Shein (2024). REMNAN (, MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R11
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Scopri di più su NaNs in Help Center e MATLAB Answers

Ispirato: Export figure to 3D interactive PDF

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release

Tightened code.
if nargout == 1 & nargin ~= 1,
z = size(x1); z0 = size(y1);
if z ~= z0, y1 = y1'; end;
if z(1) > z(2), x1 = [x1,y1]; else, x1 = [x1;y1]'; end;
if nargout == 1 & nargin ~= 1, x1 = [x1(:) y1(:)]; end;