isnull.m
来自「实现地震勘探中」· M 代码 · 共 21 行
M
21 行
function bool=isnull(ds)% Check if field "null" of dataset "ds" exists and, if yes, if it is % set to NaN.%% Written by: E. R.: November 22, 2006% Last updated:%% bool=isnull(ds)% INPUT% ds dataset (structure)% OUTPUT% bool logical variable; true if "ds" has a field "null" AND if it is % set to NaN.if isfield(ds,'null') && ~isempty(ds.null) && isnan(ds.null) bool=true;else bool=false;end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?