#include #include #include #include const ax[4] = {0, 1, 0, -1}, ay[4] = {1, 0, -1, 0}; struct Tnode { short x, y;…
UG+NX 源代码
汇集 UG+NX 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#include #include #include const ax[4] = {-1, 0, 1, 0}, ay[4] = {0, 1, 0, -1}; struct Ta { int x1, y1, x2, y2; } a[…
#ifndef _DSPLIB #define _DSPLIB //#include /* 16-bit fft */ short cfft8 (DATA *x, DATA scale); short cfft16 (DATA *x, …
function z=mmderiv(x,y) %MMDERIV Compute Derivative Using Weighted Central Differences. % MMDERIV(X,Y) computes the derivative of …
function points=regpolintpointsRO(h) % generate regular interior data points % with approximate fill distance h n=ceil(sqrt(2)/h…
function z=fct2DLaplace(x,y) % Laplacian of fct2D, not completely tested global func3d [nx,ny]=size(x); switch func3d case 1 …
function points=insidepolygon(h,vertex) % generate regular interior data points % for a boundary which is defined by a closed p…
/*引入总场域,引入均匀平面波*/ #include #include float f=1.20352e9; /*定义频率2G*/ #define Pi 3.141592653 #define pi 3.141592653 #define c…
int bianjie() {int loop1,loop2,loop3; for(loop1=0;loop1
int bianjie() {int loop1,loop2,loop3; for(loop1=0;loop1