mtimes.m

来自「Robotics TOOLBOX The Toolbox provides m」· M 代码 · 共 24 行

M
24
字号
%MTIMES Multiply robot objects%% Robot objects can be multiplied r1*r2 which is mechanically equivalent% to concatenating the two robots, or mounting robot r2 on the end of robot r1.% $Log: mtimes.m,v $% Revision 1.2  2002/04/01 12:02:27  pic% General tidyup, comments, clarification, copyright, see also, RCS keys.%% $Revision: 1.2 $% Copyright (C) 1999-2002, by Peter I. Corkefunction r2 = mtimes(r, l)	if ~isa(r, 'robot')		error('left arg must be a robot')	end	if isa(l, 'robot')		r2 = robot(r);		r2.link = [r2.link l.link];		r2.n = length(r2.link);	elseif isa(l, 'link')	end

⌨️ 快捷键说明

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