代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/425637/10343174
m exa060701_2.m
%-----------------------------------------------------------------------------
% exa060701_2.m , for example 6.7.1 and 6.5.1
% to test buttord,lp2lp,bilinear ;
% to design Low-pass DF with s=2/Ts[(
www.eeworm.com/read/425637/10343214
m exa100800_corrcoef.m
%------------------------------------------------------------------------
% exa100800_corrcoef.m,
% to test corrcoef.m ;
%------------------------------------------------------------------------
www.eeworm.com/read/425609/10344902
m testscript.m
%testscript.m
x = -pi:0.01:pi; %pi在MATLAB中是是常量,代表圆周率
y = sin(x);%生成绘制数据
ynoise = y + (rand(1,length(y))-0.5)*0.2;%加均匀噪声
plot(x,y,'r.');
hold on;%重复绘制不擦除背景
plot(x,ynoise);
hold off;
www.eeworm.com/read/425609/10344914
m testrepmat.m
%保存为testrepmat.m文件
%运用repmat函数
%绘制sin(x)*sin(y)的三维曲面图
%首先清空workspace的变量
clear all;
clc;
x = -pi:0.01:pi;
y = -pi:0.01:pi;
y = y';
x1 = repmat(x,length(x),1);
y1 = repmat(y,1,length(y));
z =
www.eeworm.com/read/161980/10349219
m iir_second_peak.m
% first order of IIR Peak filter
% copyright by Etual
clear;
Ac=3;
Gb2=10^(-Ac/10);
w0=0.35*pi;
deltaw=0.1*pi;
b=1/(1+tan(deltaw/2)*(sqrt(Gb2)/sqrt(1-Gb2)));
B=[1 0 -1].*(1-b);
A=[1 -2*b*co
www.eeworm.com/read/161980/10349231
m iir_second_notch.m
% first order of IIR notch filter
% Use bilinear meathod
clear;
Gb2=0.5;
w0=0.35*pi;
deltaw=0.1*pi;
b=1/(1+tan(deltaw/2)*(sqrt(1-Gb2)/sqrt(Gb2)));
B=[1 -2*cos(w0) 1].*b;
A=[1 -2*b*cos(w0) (2
www.eeworm.com/read/161980/10349233
m iir_second_notch_test.m
% first order of IIR notch filter
% Use bilinear meathod
clear;
Gb2=0.5;N=64;
[xn,fs,bits]=wavread('shutdown.wav');
xn=xn(:,1)';
subplot(411);plot(xn);
XZ=abs(fft(xn,N));
subplot(412);plot(X
www.eeworm.com/read/161980/10349245
m iir_first_low_test.m
% first order of IIR lowpass filter
% Use bilinear meathod
clear;
fc=1000;Gc2=0.5;N=2^15;
[xn,fs,bits]=wavread('shutdown.wav');
xn=xn(:,1)';
plot(abs(fft(xn,N)),'r');hold on;
wc=2*pi*fc/fs;
www.eeworm.com/read/161980/10349249
m iir_first_hight.m
% first order of IIR hightpass filter
% Use bilinear meathod
clear;
fi=1;fs=10;Gc2=0.9;
wc=2*pi*fi/fs;
omegac=tan(wc/2);
alpha=(sqrt(1-Gc2)/(sqrt(Gc2)))*omegac;
a=(1-alpha)/(1+alpha);
b=(1+a
www.eeworm.com/read/161980/10349252
m iir_first_low.m
% first order of IIR lowpass filter
% Use bilinear meathod
clear;
fi=1;fs=10;Gc2=0.9;
wc=2*pi*fi/fs;
omegac=tan(wc/2);
alpha=(sqrt(Gc2)/sqrt(1-Gc2))*omegac;
a=(1-alpha)/(1+alpha);
b=(1+a)/2;