代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/160929/10470216
m p3_5.m
% Program P3_5
% Modulation Property of DTFT
clf;
w = -pi:2*pi/255:pi;
x1 = [1 3 5 7 9 11 13 15 17];
x2 = [1 -1 1 -1 1 -1 1 -1 1];
y = x1.*x2;
h1 = freqz(x1, 1, w);
h2 = freqz(x2, 1, w);
h3 = freqz(y,
www.eeworm.com/read/160929/10470246
m p3_4.m
% Program P3_4
% Convolution Property of DTFT
clf;
w = -pi:2*pi/255:pi;
x1 = [1 3 5 7 9 11 13 15 17];
x2 = [1 -2 3 -2 1];
y = conv(x1,x2);
h1 = freqz(x1, 1, w);
h2 = freqz(x2, 1, w);
hp = h1.*h2;
h3 =
www.eeworm.com/read/160929/10470426
m p5_4.m
% Program P5_4
% Design of Analog Lowpass Filter
clf;
Fp = 3500;Fs = 4500;
Wp = 2*pi*Fp; Ws = 2*pi*Fs;
[N, Wn] = buttord(Wp, Ws, 0.5, 30,'s');
[b,a] = butter(N, Wn, 's');
wa = 0:(3*Ws)/511:3*Ws;
h =
www.eeworm.com/read/160929/10470439
m p5_3.m
% Program P5_3
% Illustration of the Aliasing Effect
% in the Frequency-Domain
clf;
t = 0:0.005:10;
xa = 2*t.*exp(-t);
subplot(2,2,1)
plot(t,xa);grid
xlabel('Time, msec');ylabel('Amplitude');
title('
www.eeworm.com/read/353043/10476623
m 10-1.m
clear all; % 清所有的变量
clf; % 清屏
N=1224; % 设置数据点数
f1=200; % 设置信号1频率
f2=700; % 设置信号2频率
f3=1100; % 设置信号3频率
dt=1/1024; % 设置采样时间
sample=
www.eeworm.com/read/278955/10486145
m fft_change.m
N=128;
T=1;
t=linspace(0,T,N);
x=12*sin(2*pi*10*t+pi/4)+5*cos(2*pi*40*t);
dt=t(2)-t(1);
f=1/dt;
X=fft(x);
F=X(1:N);
f=f*(0:N-1)/N;
plot(f,abs(F),'-*');
www.eeworm.com/read/424118/10491005
m shujuchuli.m
clear all
clc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%读数据%%%%%%%%%%%%%%%%%%%%%%%%
[filename, pathname] = uigetfile('*.wav', 'Pick an M-file');
fid=fopen([pathname filename]);
N1=24;%采集时通道
www.eeworm.com/read/424109/10491785
m capon.m
clear all
d=1; %天线阵元间距
lma=2; %信号中心波长
q1=1*pi/4;
q2=pi/3;q3=pi/6;q4=3*pi/4; %四个输入信号的方向
A1=[exp(-2*pi*i*d*[0:6]*cos(q1)
www.eeworm.com/read/424103/10492117
asv mvdr02.asv
clc
clear all;
close all;
c=1500;
f0=6000;
fs=65536; %采样频率
snap=1024; %快拍数
lma=2; %信号中心波长
d=1; %%天线阵元间距
M=8; %------%基阵阵元数
p=4; %信号个数
rad=pi/180;
theta=[0;50;1
www.eeworm.com/read/424102/10492337
m gamicheval.m
function [sol,val] = gaMichEval(sol,options)
val = 21.5 + sol(1) * sin(4*pi*sol(1)) + sol(2)*sin(20*pi*sol(2));
%G=zeros(0);
%val = sqrt(sol(1)) * sin(2*sol(1)) + sqrt(sol(1))*cos(5*sol(1))+5;