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

📄 set.m

📁 基于matlab的面向对象的信号处理类库。主要应用于音频、语音信号的一些处理。内含简单的使用说明
💻 M
字号:
function a = set(a,varargin)% SET Set signal properties and return the updated object%%    A=SET(A,prop1,val1,prop2,val2,...) sets properties to their%    respective values. Allowed properties are:%%      time%      s%      fs%      valid% $Id: set.m 53 2005-01-05 11:17:56Z 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 'time'    a.time = val;   case 's'    a.s = val;   case 'fs'    a.time = set(a.time,'fs',val);   case 'valid'    a.valid = val;   case 'begin'    a.time = set(a.time,'begin',val);           otherwise    error(['invalid property: ' prop])  endend

⌨️ 快捷键说明

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