代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
bs.m
clear;
q1=pi*2/3;q2=pi*1/3;q3=pi*3/2;q4=pi*6/6; %四个输入信号的方向
lam=1; %信号的波长
r=1; %天线阵列的半径
m1=1;m2=1;m3=1;m4=1;m5=1;m6=1;m7=1
shili05.m
function shili05
h0=figure('toolbar','none',...
'position',[200 150 450 250],...
'name','实例05');
t=0:pi/10:2*pi;
[x,y]=meshgrid(t);
subplot(2,2,1)
plot(sin(t),cos(t))
axis equal
sub
shili06.m
function shili06
h0=figure('toolbar','none',...
'position',[200 150 450 400],...
'name','实例06');
t=0:pi/10:2*pi;
h=plot(t,sin(t));
xlabel('t=0到2\pi','fontsize',16);
ylabel('sin(t)','fon
exm020101.m
a=pi+sqrt(5)
sa=sym('pi+sqrt(5)')
Ca=class(a)
Csa=class(sa)
vpa(sa-a)
exm040107.m
syms x
y=(x+pi)*exp(abs(sin(x+pi)));
yd=diff(y,x);
xs0=solve(yd)
yd_xs0=vpa(subs(yd,x,xs0),6)
y_xs0=vpa(subs(y,x,xs0),6)
y_m_pi=vpa(subs(y,x,-pi/2),6)
y_p_pi=vpa(subs(y,x,pi/2),
exm010306.m
a=-8;
r_a=a^(1/3)
p=[1,0,0,-a];
R=roots(p)
MR=abs(R(1));
t=0:pi/20:2*pi;
x=MR*sin(t);
y=MR*cos(t);
plot(x,y,'b:'),grid on
hold on
plot(R(2),'.','MarkerSize',30,'Color','r')
exm050204.m
clf;t=0:pi/50:2*pi;
y=sin(t);
plot(t,y)
axis([0,2*pi,-1.2,1.2])
text(pi/2,1,'\fontsize{16}\leftarrow\itsin(t)\fontname{隶书}极大值')
%
title('y=sin(t)')
xlabel('t')
ylabel('y')
exm020312.m
syms a r theta phi positive
x=r*cos(theta);x=subs(x,r,a*theta);
y=r*sin(theta);y=subs(y,r,a*theta);
dLdth=sqrt(diff(x,theta)^2+diff(y,theta)^2);
L=simple(int(dLdth,theta,0,phi))
L_2pi=sub
exm060201.m
function [S,L]=exm060201(N,R,str)
% Zhang Zhiyong 编写于 2006-1-31
switch nargin
case 0
N=100;R=1;str='-b';
case 1
R=1;str='-b';
case 2
str='-b';
ca
c5_4_1.m
clear all;
clf;
N=1224;
f1=200;
f2=700;
f3=1100;
dt=1/1024;
sample=1/dt;
randn('state',sum(100*clock));
dis=2*rand(1,