代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/290380/8487107
c show_tan.c
#include
#include
void main(void)
{
double pi = 3.14159265;
printf("Tangent of pi is %f\n", tan(pi));
printf("Tangent of pi/4 is %f\n", tan(pi / 4.0));
}
www.eeworm.com/read/390075/8487185
m shili05.m
function shili05
h0=figure('toolbar','none',...
'position',[200 150 450 250],...
'name','实例05');
t=0:pi/10:2*pi;
[x,y]=meshgrid(t);
subplot(2,2,1)
plot(sin(t),cos(t))
axis equal
sub
www.eeworm.com/read/390075/8487242
m shili06.m
function shili06
h0=figure('toolbar','none',...
'position',[200 150 450 400],...
'name','实例06');
t=0:pi/10:2*pi;
h=plot(t,sin(t));
xlabel('t=0到2\pi','fontsize',16);
ylabel('sin(t)','fon
www.eeworm.com/read/390071/8487379
c gaussian.c
#include
#define pi 3.1415
double
gaussian(double x)
{
double resu;
resu=-0.5*x*x;
resu=exp(resu);
resu=resu/sq
www.eeworm.com/read/290346/8489130
m polarization.m
%Circular,line,elliptical polarization;
%copyright 属于研学论坛bbs.matwav.com和plasma
clear all;
framemax=100;
omega=2*pi/framemax;
phi_0=-pi/2;
%if plus -pi then the direction will be changed.(half
www.eeworm.com/read/389982/8490454
m fir2.m
%wc=0.25*pi;N=33;
%alpha=(N-1)/2;
%n=0:1:N-1;
%m=n-alpha+eps;
%hd=sin(wc*m)./(pi*m);
hd=ideal_lp(wc,N);
wd1=hanning(N)';b1=hd.*wd1;
wd2=hamming(N)';b2=hd.*wd2;
wd3=blackman(N)';b3=hd.*wd3;
wd
www.eeworm.com/read/389982/8490464
m iir_1.m
wp=0.2*pi;
ws=0.3*pi;
rp=1;
as=15;
r=10^(-rp/20);
a=10^(-as/20);
n=ceil((log10((10^(rp/10)-1)/(10^(as/10)-1)))/(2*log10(wp/ws)));
fprintf('\n***Butterworth Filter Order=%2.0f',n)
www.eeworm.com/read/389982/8490501
asv fir2.asv
wc=0.25*pi;N=33;
alpha=(N-1)/2;
n=0:1:N-1;
m=n-alpha+eps;
hd=sin(wc*m)./(pi*m);
wd1=hanning(N)';b1=hd.*wd1;
wd2=hamming(N)';b2=hd.*wd2;
wd3=hanning(N)';b3=hd.*wd3;
wd4=hanning(N)';b4=hd.*wd4;
www.eeworm.com/read/290246/8492675
m chap5_5s.m
function [sys,x0,str,ts] = spacemodel(t,x,u,flag)
switch flag,
case 0,
[sys,x0,str,ts]=mdlInitializeSizes;
case 1,
sys=mdlDerivatives(t,x,u);
case 3,
sys=mdlOutputs(t,x,u);
case
www.eeworm.com/read/290246/8492680
m chap5_6s.m
function [sys,x0,str,ts] = spacemodel(t,x,u,flag)
switch flag,
case 0,
[sys,x0,str,ts]=mdlInitializeSizes;
case 1,
sys=mdlDerivatives(t,x,u);
case 3,
sys=mdlOutputs(t,x,u);
case