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 Center および MATLAB AnswersNaNs についてさらに検索
謝辞

ヒントを与えたファイル: 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!
バージョン 公開済み リリース ノート
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;