代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
ex5_12.m
t=0:pi/50:2*pi;
r=sin(t).*cos(t);
polar(t,r,'-*');
例9-20 .m
t=0:0.01:3
y=sawtooth(2*pi*t,0.5)
plot(t,y)
例5-31.m
>> n=12;
>> m=moviein(n);
>> t=0:2/n*pi:4*pi;
>> x=0:1/n*pi:4*pi;
>> nj=length(x);
>> for i=1:n
例10-3.m
t=0:pi/10:2*pi;
[X,Y,Z]=cylinder(4*cos(t)+1);
mesh(X,Y,Z)
dff.m
function c = DFF(f,N)
c(1:N)=0;
for(m=1:N)
for(n=1:N)
c(m)=c(m)+f(n)*exp(-i*m*n*2*pi/N);
end
c(m)=c(m)/N;
end
dff.m
function c = DFF(f,N)
c(1:N)=0;
for(m=1:N)
for(n=1:N)
c(m)=c(m)+f(n)*exp(-i*m*n*2*pi/N);
end
c(m)=c(m)/N;
end
exercise1_11_1.m
y=quad('exp(-x.^2)',0,0.49)
y1=y*(2/sqrt(pi))
dff.m
function c = DFF(f,N)
c(1:N)=0;
for(m=1:N)
for(n=1:N)
c(m)=c(m)+f(n)*exp(-i*m*n*2*pi/N);
end
c(m)=c(m)/N;
end
plotxyz06.m
t = linspace(0,20*pi, 501); %
fill01.m
t = 0:0.4:4*pi;
y = sin(t).*exp(-t/5);
fill(t, y, 'b'); % 'b'