REMNAN

버전 1.0.0.0 (949 Bytes) 작성자: Karsten Shein
Removes missing values jointly from 2 vectors.
다운로드 수: 1.1K
업데이트 날짜: 2006/4/27

라이선스 없음

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.

인용 양식

Karsten Shein (2024). REMNAN (https://www.mathworks.com/matlabcentral/fileexchange/10863-remnan), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R11
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 NaNs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Tightened code.
Changed:
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;
end;
To:
if nargout == 1 & nargin ~= 1, x1 = [x1(:) y1(:)]; end;