⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mask.m

📁 大气模型计算
💻 M
字号:
% MASK Make masked array from two equal arrays.
%
% res = mask(refl_data,mask,contrast)
%
% refl_data is the reflectivity "background" data. mask is an array of
% logical values of visible indices. contrast [0..1] specifies the contrast of
% visible and not visible data points in refl_data.
%
% $Id: mask.m,v 1.4 2006/05/17 14:39:17 danji Exp $

function result = mask(refl_data,mask,contrast);

if nargin < 3
	contrast = 0.3;
end

result = (~mask*contrast+mask).*refl_data;

return

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -