set.m
来自「Matsig is an object-oriented signal clas」· M 代码 · 共 20 行
M
20 行
function a = set(a,varargin)% SET Set SPECTRUM properties and return the updated object% $Id: set.m 113 2006-06-14 12:40:22Z mairas $property_argin = varargin;while length(property_argin) >= 2, prop = property_argin{1}; val = property_argin{2}; property_argin = property_argin(3:end); switch prop case 'frequency' a.frequency = val; case 's' a.s = val; otherwise error('invalid property for spectrum') endend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?