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

📄 sftab2ch.m

📁 本书是电子通信类的本科、研究生辅助教材
💻 M
字号:
function sftab2chk(xindex,yindex,table);
%SFTAB2CHK Checks input to SFTABLE2 for correctness.
%	SFTAB2CHK(XINDEX,YINDEX,TABLE) makes sure that all of the arguments
%	to SFTABLE2 are appropriate.

%	Copyright (c) 1990-94 by The MathWorks, Inc.
%	Ned Gulley
%	3-9-92

xlen = length(xindex);
ylen = length(yindex);
[m,n] = size(table);
if m ~= xlen,
    error('XINDEX must have the same number of elements as TABLE has rows');
end;
if n ~= ylen,
    error('YINDEX must have the same number of elements as TABLE has columns');
end;

if any(diff(xindex) <= 0),
    error('XINDEX must increase monotonically');
end;
if any(diff(yindex) <= 0),
    error('YINDEX must increase monotonically');
end;

⌨️ 快捷键说明

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