代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
energy2.m
clear;
E=zeros(1,100);
pi=3.1415926;
c=0.3;
u=zeros(1,101);
a=zeros(1,101);
d=zeros(1,100);
d2=zeros(1,100);
u(101)=0;a(101)=0;a(1)=1;
format long;
e=1403.765;
max=e;
min=e;
for x=100:-
fir.c
#include "myapp.h"
#include "ICETEK-VC5509-EDU.h"
#include "scancode.h"
#include
#define FIRNUMBER 25
#define SIGNAL1F 1000
#define SIGNAL2F 4500
#define SAMPLEF 10000
#define PI 3
program_03_01.m
% Program 3_1
% Discrete-Time Fourier Transform Computation
%
% Read in the desired length of DFT
colordef black;
k = input('Number of frequency points = ');
% Read in the numerator and denomi
gamicheval.m
function [sol,val] = gaMichEval(sol,options)
val = 21.5 + sol(1) * sin(4*pi*sol(1)) + sol(2)*sin(20*pi*sol(2));
%G=zeros(0);
%val = sqrt(sol(1)) * sin(2*sol(1)) + sqrt(sol(1))*cos(5*sol(1))+5;
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));
}
带通.m
% ////////////切比雪夫2型带通滤波器/////////////////////////////
% wp1=0.45*pi;wp2=0.65*pi;ws1=0.3*pi;ws2=0.75*pi;Rp=1;Rs=40
% =============双线型变换法=========================================
wp1=0.45*pi; wp2=
带阻.m
% ////////////切比雪夫2型带阻滤波器/////////////////////////////
% wp1=0.3*pi;wp2=0.75*pi;ws1=0.45*pi;ws2=0.65*pi;Rp=1;Rs=40
% =============双线型变换法==============================
wp1=0.3*pi; wp2=0.75*pi;
w
高通.m
% /////////////////切比雪夫2型高通滤波器/////////////////////////
% Fp=700Hz; Fs=500Hz, Rp=1dB; Rs=32dB; FT=2kHz;
% 归一化角频率wp=2*pi*Fp/FT; ws=2*pi*Fs/FT;
% ================双线型变换法==============================
带阻.m
% ////////////巴特沃兹带阻滤波器/////////////////////////////
% wp1=0.3*pi;wp2=0.75*pi;ws1=0.45*pi;ws2=0.65*pi;Rp=1;Rs=40
% =============双线型变换法==============================
wp1=0.3*pi; wp2=0.75*pi;
w
高通.m
% /////////////////巴特沃兹高通滤波器/////////////////////////
% Fp=700Hz; Fs=500Hz, Rp=1dB; Rs=32dB; FT=2kHz;
% 归一化角频率wp=2*pi*Fp/FT; ws=2*pi*Fs/FT;
% ================双线型变换法===============================