代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/184951/9063993
m n.m
wp=0.3*pi;
ws=0.4*pi;
Rp=3;
As=30;
T=1;
Pf=(2/T)*tan(wp/2);
Sf=(2/T)*tan(ws/2);
%巴特沃思型滤波器阶数
N=ceil((log10((10^(Rp/10)-1)/(10^(As/10)-1)))/(2*log10(Pf/Sf)));
fprintf('\n***巴特沃思型滤波器阶数=%2.0f \n'
www.eeworm.com/read/282681/9074390
m bessel -constantwidthbf_music.m
clear all;close all;clc;
M=15;
N=1000;n=1:N;
J=33;
f=linspace(10e3,14e3,J);f0=10e3;fc=12e3;
c=3.e8;d=0.5*c/fc;
DOA=[9 12];SNR=6;
ang=linspace(0,180,500);
r1=[90 97.7 105.5];
a=exp(j*2*pi*
www.eeworm.com/read/282561/9082625
m practise.m
t=-3:0.01:3;
y1=square(2*pi*t,80);
y2=sawtooth(2*pi*t,0.5);
y3=sinc(2*pi*t);
x=-12:0.01:12;
y4=diric(x,4);
y5=diric(x,5);
figure(1)
subplot(2,2,1)
plot(t,y1,'r--',t,y2,'b--')
xlabel('t');
y
www.eeworm.com/read/184565/9093335
m exa060702_2.m
%--------------------------------------------------------------------------
% exa060702_2 , for example 6.6.2 and 6.7.2;
% to test buttord.m and butter.m;
% to design a Butterworth Bandpass digital
www.eeworm.com/read/184563/9093432
m exa030202.m
%----------------------------------------------------------------------------
% exa030202, for example 3.2.2 and fig 3.2.4
% to explain how to unwrap the phase
%------------------------------------
www.eeworm.com/read/282313/9102471
asv constbuilder.asv
function y = constbuilder(N)
b=ceil(log2(N));
p=zeros(N,b);
for k=0:(N-1)
u=dec2bin(k);
w=zeros(1,length(u));
for i=1:length(u)
w(i)=str2num(u(i));
end
www.eeworm.com/read/282313/9102480
m constbuilder.m
function y = constbuilder(N)
b=ceil(log2(N));
p=zeros(N,b);
for k=0:(N-1)
u=dec2bin(k);
w=zeros(1,length(u));
for i=1:length(u)
w(i)=str2num(u(i));
end
www.eeworm.com/read/381159/9106913
cpp fft2.cpp
#include "fft2.h"
void reverse(complex *X,int N)
{
//complex *X1=new complex [N];
int i=0,j=0,k=0;
complex temp(0,0);
for(i=0;i
www.eeworm.com/read/184069/9123155
m hotqch.m
clear all
close all
a=0;b=1;m=10;T=0.5;N=1000;af=1;
f=inline('sin(pi*x)','x');
h=(b-a)/m;
k=T/N;
lmd=af^2*k/h^2; %注意lmd一定要小于0.5,只有这样差分法才稳定
x=linspace(a,b,m+1);
u(1,1:N+1)=0;
u(m+1,1:N+1)=0;
www.eeworm.com/read/184069/9123186
m cn.m
close all;
clear all;
a=0;b=1;m=10;T=0.5;N=50;af=1;
f=inline('sin(pi*x)','x');
h=(b-a)/m;
k=T/N;
lmd=af^2*k/h^2;
x=linspace(a,b,m+1);
x=x(2:m+1);
u(m)=0;
for i=1:m-1
u(i)=f(i*h);
end