代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/359349/10153917
m example3_4_1.m
% Gibbs
t=-3:6/1000:3;
N=input('input the Number of harmonics N=');
c0=0.5;
w0=pi;
xN=c0*ones(1,length(t));
for k=1:2:N
xN=xN+2*sin(k*pi*t)/(k*pi);
end
plot(t,xN)
www.eeworm.com/read/359349/10153935
m example3_4_2.m
% Gibbs
t=-3:6/1000:3;
N=input('input the Number of harmonics N=');
c0=0.5;
w0=pi;
xN=c0*ones(1,length(t));
for k=1:2:N
xN=xN-j*exp(j*k*pi*t)/(k*pi)+j*exp(-j*k*pi*t)/(k*pi);
end
plot(t,xN
www.eeworm.com/read/359349/10153980
m sin_d2.m
% Name: sin_d2.m
clear,close all,
n=-20:20;
x1=cos(0*pi*n/12);
x2=cos(pi*n/8);
x3=cos(pi*n/4);
x4=cos(pi*n/2);
x5=cos(pi*n);
x6=cos(3*pi*n/2);
x7=cos(7*pi*n/4);
x8=cos(15*pi*n/8);
x9=cos(2*
www.eeworm.com/read/359349/10154022
m fir_magnitude_beike.m
%==========================================================================
% Name:M_P.m
%
%==========================================================================
clear;close all,
w=0:0.00
www.eeworm.com/read/359349/10154040
m gui_example01.m
clear,close all
t=(-3*pi:pi/50:3*pi)+eps;
y=sin(t)./t;
hline=plot(t,y); % 绘制 Sa 曲线
cm=uicontextmenu; % 创建现场菜单
% 制作具体菜单项,定义相应的回调
uimenu(cm, 'label' , 'Red' , 'callback' , 'set(hline,''color'',''r
www.eeworm.com/read/359349/10154050
m product.m
%=========================================================================
% 信号的时域运算 程序名:product.m
% 本程序给出两个信号之间的加法、乘法运算,并画出相应的波形图
% 设两个信号分别为:f1(t)=(-t+4)[u(t)-u(t-4)],f2(t)=sin(2*pi*t)
% 画出信号f3(
www.eeworm.com/read/359349/10154096
m aliasing1.m
% Name: aliasing.m
%
clear,close all,
t=-8:0.01:8;
w=pi;
ws=6*w/5;
Ts=2*pi/ws;
n=-8/Ts:8/Ts;
x=cos(pi*t);
x1=cos((ws-w)*t-1.2*pi/3);
xn=cos(pi*n*Ts);
subplot(221)
plot(t,x,'r:'),hold on,
www.eeworm.com/read/359349/10154131
m aliasing.m
% Name: aliasing.m
%
clear,close all,
t=-2:0.01:2;
n=-2:2;
x1=cos(0.6*pi*t);
x2=cos(1.4*pi*t);
x3=cos(2.6*pi*t);
x4=cos(2.6*pi*n*1);
subplot(211)
plot(t,x1,'k'),hold on,
plot(t,x2,'r:'),hol
www.eeworm.com/read/359349/10154147
m interup.m
N=16;
k=512;
i=0.001;
w=-1*pi:i:1*pi;
phi=(1/N)*(sin(w*N/2+eps)./sin(w/2+eps));%.*exp(-j*w*(N-1)/2);
subplot(211)
plot(w/pi,phi)
axis([-1,1,-0.4,1.2])
xlabel('w*pi')
www.eeworm.com/read/359349/10154158
m sampling.m
% Name: sampling.m
%
clear,close all,
t=-1:0.01:1;
n=-10:10;
x1=sin(pi*t)+sin(2*pi*t);
x2=sin(pi*n*0.1)+sin(2*pi*n*0.1);
subplot(221)
plot(t,x1)
%axis([0,2000,0,1.2])
grid on,title('The si