代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
transformtoglobal.m
function p = TransformToGlobal(p, b)
% function p = TransformToGlobal(p, b)
%
% Transform a list of poses [x;y;phi] so that they are global wrt a base pose
%
% Tim Bailey 1999
% rotate
rot =
2-7.m
t = 0:pi/20:2*pi;
plot(t,sin(t),'-.r*')
hold on
%以后图形绘制在当前坐标轴图形上
plot(t,sin(t-pi/2),'--mo','Linewidth',2)
plot(t,sin(t-pi),':bs','Linewidth',3,...
'MarkerEdgeColor','k',...
ex221.m
%********************************************************
%程序:EX221.M
%功能:极坐标绘图函数polar使用实例
%********************************************************
t=0:0.01*pi:2*pi;
ex221.m
%********************************************************
%程序:EX221.M
%功能:极坐标绘图函数polar使用实例
%********************************************************
t=0:0.01*pi:2*pi;
examp7_25.m
[t,y]=nlbound('c7fun4','c7fun3',[0,pi/2],[-1,1],1e-8);
plot(t,y); set(gca,'xlim',[0,pi/2]);
y0=tan(t-pi/4); norm(y(:,1)-y0)
norm(y(end,1)-1)
limitfunc.m
function [sitaL,sitaR]=limitfunc(eta)
if (abs(eta)>=0)&(abs(eta)sqrt(2)
sitaR=pi-acos(2/eta^2);
sitaL=-sitaR;
end
transformtoglobal.m
function p = TransformToGlobal(p, b)
% function p = TransformToGlobal(p, b)
%
% Transform a list of poses [x;y;phi] so that they are global wrt a base pose
%
% Tim Bailey 1999
% rotate
rot =
2-7.m
t = 0:pi/20:2*pi;
plot(t,sin(t),'-.r*')
hold on
%以后图形绘制在当前坐标轴图形上
plot(t,sin(t-pi/2),'--mo','Linewidth',2)
plot(t,sin(t-pi),':bs','Linewidth',3,...
'MarkerEdgeColor','k',...
ex221.m
%********************************************************
%程序:EX221.M
%功能:极坐标绘图函数polar使用实例
%********************************************************
t=0:0.01*pi:2*pi;
examp7_25.m
[t,y]=nlbound('c7fun4','c7fun3',[0,pi/2],[-1,1],1e-8);
plot(t,y); set(gca,'xlim',[0,pi/2]);
y0=tan(t-pi/4); norm(y(:,1)-y0)
norm(y(end,1)-1)