代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/184949/9064013
m dhpf.m
N0=str2num(get(findobj(gcf,'tag','N'),'string'));
wr=str2num(get(findobj(gcf,'tag','wr'),'string'))*pi;
wp=str2num(get(findobj(gcf,'tag','wp'),'string'))*pi;
Ap=str2num(get(findobj(gcf,'tag','Ap'),
www.eeworm.com/read/184949/9064022
m a_d.m
L=201;
n=0:L-1;
xn=sin(2*pi*f1*n/fs)+sin(2*pi*f2*n/fs)+sin(2*pi*f3*n/fs)+sin(2*pi*f4*n/fs);
xnM=max(xn);
subplot(2,2,2);
bar(n,xn,0)
AXIS([0 L-1 -1.2*xnM 1.2*xnM]);
xlabel('n')
ylabel('x(n)')
www.eeworm.com/read/184949/9064028
m inputwave.m
global f1 f2 f3 f4 yn xn fs N0
fs=20;
f1=str2num(get(findobj(gcf,'tag','f1'),'string'));
f2=str2num(get(findobj(gcf,'tag','f2'),'string'));
f3=str2num(get(findobj(gcf,'tag','f3'),'string'));
f4=s
www.eeworm.com/read/184946/9064094
m fftfunction.m
function fftdata=fftfunction(data)
iii=1;k=0;
%t=0:2*pi/1024:2*pi-2*pi/1024;
%data1=sin(t);
N=length(data);
n=N;
M=(log(N)/log(2));
while iii
www.eeworm.com/read/184946/9064099
m butterfly.m
function fftdata=BUTTERFLY(data,N,n)
%n=N;
%N表示所计算的序列的总长度,n表示n层运算
ii=1;t=2^n;
kk=N/2;
for k=0:(2^(n-1)-1)
temp3=data(ii);
data(ii)=data(ii+kk)*exp(-j*2*pi/N*k)+data(ii);
data(ii+k
www.eeworm.com/read/184946/9064101
m ifftfunction.m
function fftdata=fftfunction(data)
iii=1;k=0;
%t=0:2*pi/1024:2*pi-2*pi/1024;
%data1=sin(t);
N=length(data);
n=N;
M=(log(N)/log(2));
while iii
www.eeworm.com/read/381804/9070739
c iir.c
#include"math.h"
#define IIRNUMBER 2
#define SIGNAL1F 1000
#define SIGNAL2F 4500
#define SAMPLEF 10000
#define PI 3.1415926
float InputWave();
float IIR();
float fBn[IIRNUMBER]={ 0.0,0.
www.eeworm.com/read/381802/9070775
c fir.c
#include
#define FIRNUMBER 25
#define SIGNAL1F 1000
#define SIGNAL2F 4500
#define SAMPLEF 10000
#define PI 3.1415926
float InputWave();
float FIR();
float fHn[FIRNUMBER]={ 0.0,0
www.eeworm.com/read/184790/9075792
txt 例13.2.txt
例13.2 用控制符控制输出格式。
#include
#include //不要忘记包含此头文件
using namespace std;
int main()
{int a;
couta;
cout
www.eeworm.com/read/184790/9075813
txt 例13.3.txt
例13.3 用流控制成员函数输出数据。
#include
using namespace std;
int main( )
{int a=21
cout.setf(ios::showbase);//显示基数符号(0x或0)
cout