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

📄 par_info.m

📁 三谱混合相位子波估计!! 这是我的一篇文章所涉及到的matlab 源代码
💻 M
字号:
function info=par_info(structure,mnem)
% Get the row of "structure.parameter_info" that pertains to a particular 
% parameter. If global variable S4M.case_sensitive is set to false, the case
% of the parameter mnemonic is disregarded
% Written by: E. R., September 12, 2003
% Last updated:
%
%             info=par_info(structure,mnem);
% INPUT
% structure   structure with field "parameter_info"
% mnem        parameter mnemonic
% OUTPUT
% info        cell array (cell vector with three components) with info about 
%             column with mnemonic "mnem"
%             {mnemonic,units of measurement,description}

global S4M

mnems=structure.parameter_info(:,1);
if S4M.case_sensitive
   idx=find(ismember(mnems,mnem));
else
   idx=find(ismember(lower(mnems),lower(mnem)));
end

if ~isempty(idx) & length(idx) == 1
   info=structure.parameter_info(idx,:);
   return
end

% Handle error condition
if isempty(idx)
   disp([' Parameter "',mnem,'" not found. Available parameters are:'])
   disp(mnems')
else
   disp([' More than one parameter found: ',cell2str(mnems(idx),', ')])
end

error(' Abnormal termination')

⌨️ 快捷键说明

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