代码搜索结果
找到约 3,686,282 项符合
C 的代码
fft.c
//FFT.c C callable FFT function in C
#define PTS 256 //# of points for FFT
typedef struct {float real,imag;} COMPLEX;
extern COMPLEX w[PTS]; //twiddle constants stored in w
v
dotp4clasm.c
//Dotp4clasm.c Multiplies two arrays using C calling linear ASM func
short dotp4clasmfunc(short *a,short *b,short ncount); //prototype
#include //for printing statement
adaptnoise_pcm.c
//Adaptnoise_pcm.c Adaptive FIR for noise cancellation using PCM3003
#define beta 1E-12 //rate of convergence
#define N 30 //# of weights (coefficients)
#d
dotpfunc.c
//dotpfunc.c Optimized dot product function
int dotpfunc(const short *a, const short *b, int ncount)
{
int sum = 0;
int i;
_nassert((int)(a)%4 == 0);
_nassert((int)(b)%4 == 0
dotpopt.c
//dotpopt.c Optimized dot product of two arrays
#include
#include "dotp4.h"
#define count 4
short x[count] = {x_array}; //declaration of 1st array
short y[count] = {y
factorial.c
//Factorial.c Finds factorial of n. Calls function factfunc.asm
#include //for print statement
void main()
{
short n=7; //set value
short result; //re
two_tones.c
//two_tones.c Generates/adds two tones using difference equations
short sinegen(void); //for generating tone
short output; //for output
short sinegen_buffer[256]; //buffer for out
fastconvo.c
//FastConvo.c FIR filter implemented using overlap-add fast convolution
#include
#include "coeffs.h" //time domain FIR coefficients
#define PI 3.14159265358979
#define PTS
adaptidfir.c
//AdaptIDFIR.c Adaptive FIR for system ID of an FIR (uses C67 tools)
#include "bp55.cof" //fixed FIR filter coefficients
#include "noise_gen.h" //support noise generation f
am.c
//AM.c AM using table for carrier and baseband signals
short amp = 1;
void main()
{
short baseband[20]={1000,951,809,587,309,0,-309,-587,-809,-951,
-1000,-951,-809,-587,-309,0,309,587,80