代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/360021/10111585
asv untitled.asv
clear all
f=6;
fs=12;
n=128
y=sin(2*pi*f*n/fs);
subplot(2,1,1);
plot(y);
subplot(2,1,2);
stem(y);
www.eeworm.com/read/360021/10111608
asv untitled2.asv
clear all;
% 构造三个不同频率的正弦信号的叠加作为试验信号
N=4;
f1=8;f2=8.22;f3=9;fs=40;
%%stepf=fs/N;
n=1:N;
t=2*pi*n/fs;
x=sin(f1*t);
subplot(2,1,1);
stem(x);
subplot(2,1,2);
plot(abs(fft(x,102)));
www.eeworm.com/read/360021/10111611
asv f.asv
clear all;
N=16;
m=1/8;
x=sin(2*pi*m*[0:N-1]);
plot(x);
% y=abs(fft(x,512));
% figure;
% plot(y);
www.eeworm.com/read/360021/10111621
m untitled2.m
clear all;
% 构造三个不同频率的正弦信号的叠加作为试验信号
N=25;
f1=8;fs=32;
%%stepf=fs/N;
x=sin(2*pi*0.25*[0:N-1]);
subplot(2,1,1);
plot(x);
subplot(2,1,2);
plot(abs(fft(x,128)));
%axis([-512 512
www.eeworm.com/read/164338/10116783
m q732.m
%《MATLAB在电子信息课程中的应用》(第三版)第七章例7.32程序q732
% 直接设计带通数字椭圆滤波器
% 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月
clear;close all
Wp=[0.25,0.45];
Ws=[0.15,0.55];
Rp=0.1;
Rs=60;
[N,wc]=ellip
www.eeworm.com/read/164338/10116803
m q517.m
%《MATLAB在电子信息课程中的应用》第五章例5.17程序q517
% 交流谐振电路
% 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月
r1=2; r2=3; L1=0.75e-3; L2=0.25e-3; C=1000e-12;rs=28200;
L=L1+L2;r=r1+r2;rse=rs*(L/L1)^2; % 折算内阻
f0=1/(2*pi*sq
www.eeworm.com/read/164338/10116837
m q607.m
%《MATLAB在电子信息课程中的应用》第六章例6.7程序q607
% 方波表为多阶正弦波之和
% 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月
t = 0:.01:2*pi; % 设定一个时间数组,有101个点
y = sin(t);plot(t,y),figure(gcf),pause% 频率为w=1(f=1/2π)的正弦基波
y = sin(t)
www.eeworm.com/read/164338/10116871
m q719.m
%《MATLAB在电子信息课程中的应用》第七章例7.19程序q719
% 用DFT作谱分析
% 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月
clear;close all
fs=400; T=1/fs; %采样频率为400Hz
Tp=0.04; N=Tp*fs; %采样点数N
N1=[N, 4*N, 8*N]; % 设定三种截取长度供调用
st=['|
www.eeworm.com/read/359900/10116873
m hsi2rgb.m
function rgb = hsi2rgb(hsi)
%HSI2RGB Converts an HSI image to RGB.
% RGB = HSI2RGB(HSI) converts an HSI image to RGB, where HSI is
% assumed to be of class double with:
% hsi(:, :, 1) =
www.eeworm.com/read/164338/10116983
m q725.m
%《MATLAB在电子信息课程中的应用》(第三版)第七章例7.25程序q725
% 用各种窗函数设计FIR数字滤波器q724
% 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月
clear;close all
N=21; wc=pi/4; % 理想低通滤波器参数
n=0:N-1; r=(N-1)/2;
hdn=sin(wc*(n-r))/pi./(n-