代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/468702/6986652
m fseries.m
%1.fseries.m
% [A,B,y]=fseries(f,x,n,a,b)
% f为待展开函数,
% x为自变量
% n为展开项数
% [a,b]为展开区间,省略则为
% A,B为傅里叶系数
% y为返回的展开式
% 程序如下:
function [A,B,F]=fseries(f,x,n,a,b)
if nargin==3, a=-pi; b=pi; end %
www.eeworm.com/read/468793/6988602
m sinc.m
%sinc函数
t1=-10;
t2=10;
t=t1:0.01:t2;
r=pi.*t;
b=sin(r)./(r);
plot(t,b,'b-')
grid on
www.eeworm.com/read/468793/6988607
m zqixinhaodejiafa.m
%周期函数
a1=2;
a2=3;
a3=2.5;
b1=2/3;
b2=1/2;
b3=1/3;
t=-40:0.001:40;
x1=a1*sin(b1*pi*t);
x2=a2*sin(b2*pi*t);
x3=a3*sin(b3*t);
x4=x1+x2+x3;
c1=2*pi/(b1*pi);
c2=2*pi/(b2*pi);
c3=2*pi/(b3*pi);
www.eeworm.com/read/468793/6988615
m untitled20.m
t=-2:0.001:2;
tao=0.05
x=tao./(pi*(t.^2+tao.^2));
plot(t,x)
grid on
xlabel('t');
ylabel('x(t)');
title('tao/(pi*(t^2+tao^2))')
www.eeworm.com/read/468795/6988654
m hr_type3.m
function [Hr,w,b,L]=Hr_Type3(h);
M=length(h);
L=(M-1)/2;
b=[2*h(L+1:-1:1)];
n=[0:L];
w=[0:500]'*2*pi/500;
Hr=sin(w*n)*b';
www.eeworm.com/read/468428/6989846
asv demappingbpsk.asv
function deBPSKCode=demappingBPSK1(PskCode)
Psklen=length(PskCode);
Re=real(PskCode);
Im=imag(PskCode);
[Angle,Radius]=cart2pol(Re,Im);
for b=1:Psklen
if ((Angle(b)>-pi)&(Angle(b)
www.eeworm.com/read/467921/6996978
m sig.m
function f = sig(x)
% signal put out by transducer array
f=sin(x/pi);
www.eeworm.com/read/467324/7009837
m ip_07_07.m
% MATLAB script for Illustrative Problem 7, Chapter 7.
echo on
Tb=1;
f1=1000/Tb;
f2=f1+1/Tb;
phi=pi/4;
N=5000; % number of samples
t=0:Tb/(N-1):Tb;
u1=cos(2*pi*f1*t);
u2=cos(2*pi*f2*t)
www.eeworm.com/read/466942/7023977
m mygausshermite.m
function [x,w] = MyGaussHermite(mu,sigma2,N)
HPoly = cell(N+1,1);
HPoly{1} = [ 1/pi^0.25 ];
HPoly{2} = [sqrt(2) / pi^0.25, 0];
for i=2:N
HPoly{i+1} = [sqrt(2/(i)) * HPoly{i} , 0] - [0, 0, sqr
www.eeworm.com/read/466324/7032679
java exercise3_30.java
// Exercise3_30.java: Approximate PI
public class Exercise3_30 {
public static void main(String[] args) {
double pi = 0;
double term;
int sign = 1;
for (int i = 1; i