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

📄 isstacked.m

📁 The pattern recognition matlab toolbox
💻 M
字号:
%ISSTACKED Test on stacked mapping%%   N = ISSTACKED(W)%   ISSTACKED(W)%% INPUT%   W  Mapping%% OUTPUT%   N  Scalar, 1 if W is a stacked mapping, 0 otherwise%% DESCRIPTION% Returns 1 for stacked mappings. If no output is requested, false outputs% are turned into errors. This may be used for assertion.%% SEE ALSO% ISMAPPING, ISPARALLEL% $Id: isstacked.m,v 1.2 2006/03/08 22:06:58 duin Exp $function n = isstacked(w)	prtrace(mfilename);	if (isa(w,'mapping')) & (strcmp(w.mapping_file,'stacked'))		n = 1;	else		n = 0;	end	% Generate an error if the input is not a stacked mapping and no output 	% is requested (assertion).	if (nargout == 0) & (n == 0)		error([newline '---- Stacked mapping expected -----'])	endreturn

⌨️ 快捷键说明

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