代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/384225/7129612
m shiyan4_1_1.m
%脉冲响应不变法设计ButterWorth低通数字滤波器
wp=0.2*2*pi;
ws=0.3*2*pi;
Ap=1;
As=25;
Fs=1;
[n,Wc]=buttord(wp,ws,Ap,As,'s')
[b,a]=butter(n,Wn,'s')
[bz,az]=impinvar(b,a,1)
freqz(bz,az)
www.eeworm.com/read/384225/7129615
m shiyan4_1_2.m
%双线性变换法设计ButterWorth低通数字滤波器
wp=0.2*2*pi;
ws=0.3*2*pi;
Ap=1;
As=25;
Fs=1;
[n,Wc]=buttord(wp,ws,Ap,As,'s')
[b,a]=butter(n,Wn,'s')
[bz,az]=bilinear(b,a,1)
freqz(bz,az)
www.eeworm.com/read/206562/7129704
m ex2_1.m
x=1+2i;
y=3-sqrt(17);
z=(cos(abs(x+y))-sin(78*pi/180))/(x+abs(y))
www.eeworm.com/read/206562/7129737
m ex5_8.m
t=0:0.01:2*pi;
x=exp(i*t);
y=[x;2*x;3*x]';
plot(y)
grid on; %加网格线
box on; %加坐标边框
axis equal %坐标轴采用等刻度
www.eeworm.com/read/206562/7129745
m ex5_17.m
[x,y]=meshgrid(0:0.25:4*pi);
z=sin(x+sin(y))-x/10;
mesh(x,y,z);
axis([0 4*pi 0 4*pi -2.5 1]);
www.eeworm.com/read/206562/7129761
m ex5_15.m
subplot(2,2,1);
ezplot('x^2+y^2-9');axis equal
subplot(2,2,2);
ezplot('x^3+y^3-5*x*y+1/5')
subplot(2,2,3);
ezplot('cos(tan(pi*x))',[ 0,1])
subplot(2,2,4);
ezplot('8*cos(t)','4*sqrt(2)*sin(t)',[
www.eeworm.com/read/206562/7129768
m ex5_19.m
t=0:pi/20:2*pi;
[x,y,z]= cylinder(2+sin(t),30);
subplot(2,2,1);
surf(x,y,z);
subplot(2,2,2);
[x,y,z]=sphere;
surf(x,y,z);
subplot(2,1,2);
[x,y,z]=peaks(30);
surf(x,y,z);
www.eeworm.com/read/152244/7139360
m ex5_2.m
%%%%%%%%%%%%%%%%%% Example 5.2 %%%%%%%%%%%%%%%%%%
% Discrete-Time Control Problems using %
% MATLAB and the Control System Toolbox %
% by J.H. Chow, D.K. Frederick, & N.W. Chbat %
www.eeworm.com/read/381022/7141037
m drawearth.m
%time是参数
%利用这个参数,可以绘制看起来是旋转的地球
function DrawEarth(time)
r=6400;
k=0;
for i=0:pi/6:2*pi
k=k+1;
j1(k)=i;
end
k=0;
for i=-pi/2:pi/6:pi/2
k=k+1;
w1(k)=i;
end
%j1=[0:pi/6:2*
www.eeworm.com/read/464508/7156896
m p320b.m
clear all;clc;
i=1;
Ts1=0.01;
Ts2=0.05;
Ts3=0.1;
Dt=0.001;
for t=0:Dt:1
n=t/Ts1;
Time(i)=t;
xt1(i) = sin(2*pi*n);
i=i+1;
end
subplot(3,1,1)
plot(Time,xt1,'k')
for t