代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/158240/11631249
m ex3_21.m
a=0;b=3*pi;
n=1000; h=(b-a)/n;
x=a; s=0;
f0=exp(-0.5*x)*sin(x+pi/6);
for i=1:n
x=x+h;
f1=exp(-0.5*x)*sin(x+pi/6);
s=s+(f0+f1)*h/2;
f0=f1;
end
s
www.eeworm.com/read/157767/11665702
m p311.m
%program p311
wp=0.5*pi;
ws=0.66*pi;
width=ws-wp;%width of transition band
N=ceil(8*pi/width);%the length of the filter
if(rem(N,2))==0
N=N+1;
end
Nw=N;%the length of the filter
wc=(wp+ws
www.eeworm.com/read/347260/11679797
txt 快速傅立叶变换(来源《c常用算法集》).txt
// 函数名: 快速傅立叶变换(来源《C常用算法集》)
// 本函数测试OK,可以在TC2.0,VC++6.0,Keil C51测试通过。
// 如果你的MCS51系统有足够的RAM时,可以验证一下用单片机处理FFT有多么的慢。
//
// 入口参数:
// l: l = 0, 傅立叶变换; l = 1, 逆傅立叶变换
// il: il = 0,不计算傅立叶变换或逆变换模和幅角;i
www.eeworm.com/read/347238/11680710
makefile
CC = icc
CFLAGS = -w
LIBDIR =
LIBS = $(LIBDIR) -lpthread
all: pi
pi: pi.c
$(CC) $(CFLAGS) pi.c -o pi $(LIBS)
www.eeworm.com/read/157532/11695090
h math.h
#ifndef __MATH.H__
#define __MATH.H__
// 圆周率
const double Pi = 3.1415927;
#endif
www.eeworm.com/read/346860/11718095
m ex5_4.m
x=0:pi/100:2*pi;
y1=0.2*exp(-0.5*x).*cos(4*pi*x);
y2=2*exp(-0.5*x).*cos(pi*x);
plotyy(x,y1,x,y2);
www.eeworm.com/read/346860/11718221
m ex3_21.m
a=0;b=3*pi;
n=1000; h=(b-a)/n;
x=a; s=0;
f0=exp(-0.5*x)*sin(x+pi/6);
for i=1:n
x=x+h;
f1=exp(-0.5*x)*sin(x+pi/6);
s=s+(f0+f1)*h/2;
f0=f1;
end
s
www.eeworm.com/read/346461/11743003
m lowpass_p354.m
%clear;close all;
wp=0.8*pi;%passband end
ws=0.88*pi;
%wc=(wp+ws)/2;
width=ws-wp;%width of the transition band
N=ceil(6.6*pi/width);
if (rem(N,2))==0
N=N+1;
end
Nw=N;%Legnth of the