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

📄 get.m

📁 it is a matlab file foe develop SLAM localization this is a toolbox for develop develop realtime e
💻 M
字号:
%GET    Get method for alpha,r-line feature object.%   V = GET(L,'PropertyName') returns the value of the specified%   property for the alpha,r-line feature object L.%%   GET(L) displays all property names and their current values%   for the alpha,r-line feature object L.%%   Examples:%      state = get(l,'x');% %   See also: ARLINEFEATURE/SET.% v.1.0, Nov. 2003, Kai Arras, CAS-KTHfunction val = get(varargin);switch nargin,  case 1,    l = varargin{1};    if (isa(l,'arlinefeature'))      get(l.entity);      disp(sprintf('          X = [%s  %s]', num2str(l.x(1)), num2str(l.x(1))));      disp(sprintf('          C = [%s  %s; %s  %s]', num2str(l.C(1,1)), ...      num2str(l.C(1,2)), num2str(l.C(2,1)), num2str(l.C(2,2))));    else      error('arlinefeature/get: Wrong argument type')    end;  case 2,    l = varargin{1};    prop_name = varargin{2};    switch lower(prop_name),      case 'type',        val = get(l.entity,'type');      case 'id',        val = get(l.entity,'id');      case {'x', 'state'},        val = l.x;      case 'c',        val = l.C;      otherwise        error([prop_name,' is not a valid alpha,r-line feature property']);    end;  otherwise    error('arlinefeature/get: Wrong number of input arguments')end

⌨️ 快捷键说明

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