代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
example1_8.m
t=0:pi/20:2*pi;
plot(t,sin(t));
xlabel('t=0 to 2pi');
ylabel('sin(t)');
title('0到2pi的正弦曲线');
text(pi/4,sin(pi/4),'\leftarrowsin(t)=0.707');
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',...
zp1597.cpp
//---------------------------------------------------------------------------
#pragma hdrstop
//---------------------------------------------------------------------------
#pragma argsused
#
qxw.m
function xw=qxw(a,b)
xw=atan(b/a);
if (a>0)&(b>0)
xw=xw;
elseif (a>0)&(b
example1_8.m
t=0:pi/20:2*pi;
plot(t,sin(t));
xlabel('t=0 to 2pi');
ylabel('sin(t)');
title('0到2pi的正弦曲线');
text(pi/4,sin(pi/4),'\leftarrowsin(t)=0.707');
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)
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',...
poincare_section.m.txt
%matlab计算程序如下:
% Poincare_section[绘制庞加莱截面图]
[t,x]=ode45(@Poincare,[0,2800],[0,1.5,0]);
x(:,2)=mod(x(:,2),2*pi)-pi;
phi0=pi*2/3; % 选择phi=2*pi/3这个截面
for k=1:round(max(x(:,3))/2/pi);
d=
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;