function [X] = reshapeinput(Xin, X) % RESHAPEINPUT reshape X to match the shape of Xin % Copyright 2004 The MathWorks, Inc …
Sun+Xin 源代码
汇集 Sun+Xin 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#include "iostream.h" #include "math.h" void asub(double xin[], double xout[]) { int i,n = 20; xout[1] = xin[1] + 2…
C51 COMPILER V8.05a FFT 09/02/2007 01:20:12 PAGE 1 C51 …
#include #include "stdio.h" #include //调用源(头)文件 struct compx /*定义一个复数结构*/ {float real;float imag; }; struc…
#include "typedef.h" #include "math.h" struct compx EE(struct compx b1,struct compx b2) { struct compx b3; b3.real=b1.real*…
#include "nr.h" void NR::rebin(const DP rc, const int nd, Vec_I_DP &r, Vec_O_DP &xin, Mat_IO_DP &xi, const int j) { int i,…
void rebin(float rc, int nd, float r[], float xin[], float xi[]) { int i,k=0; float dr=0.0,xn=0.0,xo=0.0; for (i=1;i dr) dr…
#include "nr.h" void NR::rebin(const DP rc, const int nd, Vec_I_DP &r, Vec_O_DP &xin, Mat_IO_DP &xi, const int j) { int i,…
/*********************************** // DIT radix-4 FFT complex // // 1. Maximium points are 2048 because that // function …
/*********************************** // DIT radix-4 FFT complex // for calculer 4, 16, 64, 256, 1024 ... points FFT // // 18 …