代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/377814/9262080
m chap3_10plot.m
clear all;
close all;
L1=-pi/6;
L2=pi/6;
L=L2-L1;
T=L*1/1000;
x=L1:T:L2;
figure(1);
for i=1:1:3
gs=-[(x+pi/6-(i-1)*pi/6)/(pi/12)].^2;
u=exp(gs);
hold on;
plot(x,u);
end
xlab
www.eeworm.com/read/377596/9269945
m hrollfcoef.m
% hrollfcoef.m
%
% Generate coefficients of Nyquist filter
function [xh]=hrollfcoef(irfn,ipoint,sr,alfs,ncc)
xi=zeros(1,irfn*ipoint+1);
xq=zeros(1,irfn*ipoint+1);
point=ipoint;
tr=sr;
tst
www.eeworm.com/read/377445/9275949
m ex3_5.m
clear all
close all
clc
M=32;
alpha=(M-1)/2;
magHk=[1,1,1,0.5,zeros(1,25),0.5,1,1];
k1=0:15;
k2=16:M-1;
angHk=[-alpha*2*pi/M*k1,alpha*2*pi/M*(M-k2)];
H=magHk.*exp(j*angHk);
h=real(ifft(H,M))
www.eeworm.com/read/377444/9275958
m ex2_5.m
%
x = [1,1,1,1];
subplot(1,1,1);
%
% a) DTFT
w = [0:1:500]*2*pi/500;
[H] = freqz(x,1,w);
magH = abs(H); phaH = angle(H); phaH(126)=-47.5841*pi/180;
subplot(2,1,1); plot(w/pi,magH); grid
xlabe
www.eeworm.com/read/377444/9275961
m ex2_2.m
clear all;
close all;
clc;
N=32;
n=0:N-1;
xn=cos(pi*n/6);
k=0:N-1;
WN=exp(-j*2*pi/N);
nk=n'*k;
WNnk=WN.^nk;
Xk=xn*WNnk;
figure(1)
stem(n,xn)
figure(2)
stem(k,abs(Xk));
www.eeworm.com/read/377438/9276039
m ex4_18.m
% 椭圆带通滤波器设计
% ELLIP函数的应用
%
% 数字低通滤波器指标: % 椭圆型带通:
ws = [0.3*pi 0.75*pi]; % 数字阻带边缘频率
wp = [0.4*pi 0.6*pi]; % 数字通带边缘频率
R
www.eeworm.com/read/181008/9277358
m wuqiongxiao_yanshi.m
%example3_1.m
close all
close all
t=-4:0.1:4;
y1=sin(pi*t)./(pi*t);
y2=sin(pi*t+eps)./(pi*t+eps);
subplot(211);plot(t,y1);grid;
title('sin(\pi*t)/(\pi*t)');
axis([-4 4 -0.5 1.5]);
subplot(212
www.eeworm.com/read/180877/9282231
cpp p1-98.cpp
#include
//以下是几个简单宏替换预处理指令
#define YES 1
#define PI 3.1415926
#define RAD PI/180
#define MESG "This is a string."
//以下是主程序
main() {
//以下各语句使
www.eeworm.com/read/180877/9282289
cpp p1-12.cpp
#include
const double PI=3.1416; //声明常量(const变量)PI为3.1416
main()
{
//声明3个变量
double r,l,s;
//输入圆的半径
coutr;
//计算圆的周长
www.eeworm.com/read/180877/9282325
cpp p1-100.cpp
#include
#define PI 3.1416
main() {
int i=100;
#if 1
cout