missex.m
来自「This is matlab sourcecode for measuring 」· M 代码 · 共 11 行
M
11 行
function y=missex(x,e)
% MISSEX
% MISSEX(x,e) converts values to the missing value code NaN according to the values
% given in a logical expression.
% x: NxK matrix
% e: NxK matrix of 0's and 1's), the 1's in e correspond to the values in x that are to be
% converted into missing values
y=x.*(~e);
y(y==0)=NaN;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?