代码搜索:Sign

找到约 10,000 项符合「Sign」的源代码

代码结果 10,000
www.eeworm.com/read/162730/10278876

txt fft.txt

void FFT(double fr[], double fi[], int n, int flag) { int mp,arg,cntr,p1,p2; int i,j,a,b,k; double sign,pr,pi,harm,t; double* ca=new double[n],*sa=new double[n]; j=0; if(flag!=0) { s
www.eeworm.com/read/162323/10314394

m rect.m

% rect.m % 实现一个单相不控的全桥整流器 function[sys,xo]=rect(t,x,u,flag,R1,C,R) % 由于不是离散系统,输出参数没有包括ts % 此外需要用户输入3个新的参数 % 交流母线电阻R1,直流滤波电容C,负载电阻R % 根据不控全桥整流电路的原理,列写微分方程 a1=-(1/R1+1/R)/C; a2=-1/R/C; b1=1
www.eeworm.com/read/279909/10378161

txt 例2.4.txt

例2.4 求1-1/2+1/3-1/4+…+1/99-1/100。 算法可以表示如下: S1: 1=>sign S2: 1=>sum S3: 2=>deno S4: (-1)×sign=>sign S5: sign×(1/deno)=>term S6: sum+term=>sum S7: deno+1=>deno S8: 若
www.eeworm.com/read/161630/10391083

m jieyasuo.m

function y=jieyasuo(x) %function y=lianghua(x) %要用 x=x/max(x); z=sign(x); x=abs(x); for i=1:length(x); if((x(i)>=0)&(x(i)=1/4&x(
www.eeworm.com/read/161587/10395049

h curr2.h

#ifndef Currency_ #define Currency_ #include #include enum sign {plus, minus}; class Currency { public: // constructor Currency(sign s = plus, un
www.eeworm.com/read/161429/10413628

c coder_frac.c

#define FIX_ERRORS #define DO_LOG #define MAX_SCALE_0 //#define MAX_SCALE_1 /** allowing scales hurts about 0.1 bpp, * fixes and escapes are both reduce by about 200 (1400 -> 1200) * b
www.eeworm.com/read/161429/10413854

c coder_vq.c

#define QUANTIZER 0 /***** on checa 256 @ 0.50 bpp z = 2 : psnr 36.89 z = 0 : psnr 37.16 so fixing is slightly better, but not much on checa 256 @ 0.25 bpp z = 10 : psnr 31.78 z
www.eeworm.com/read/353818/10415935

c leddt.c

/************************************************************************** 动态数码管显示 COPYRIGHT (c) 2007 BY GSM. -- ALL RIGHTS RESERVED -- File Name: LEDdt.c A
www.eeworm.com/read/353818/10415971

c shumaguan.c

#include void disp(unsigned char *x,db); void delay(unsigned int c); void timerint () ; sbit D1=P2^0; sbit D2=P2^1; sbit D3=P2^2; sbit D4=P2^3; sbit DP=P1^7; #define DT P1
www.eeworm.com/read/279419/10439362

m p_y.m

%子程序 function pc3inte=P_y(interval,len); % 该函数对区间进行裁减即Py投影,返回裁剪后的区间信号 if sign(interval(1))==sign(interval(len)) interval=interval.*(sign(interval)==sign(interval(1))); inte=interp1([1,l