代码搜索:Sign
找到约 10,000 项符合「Sign」的源代码
代码结果 10,000
www.eeworm.com/read/272062/10972184
c exp_12_1.c
#include "reg51.h"
int data a _at_ 0x30;
int data b _at_ 0x40;
int data c _at_ 0x50;
void main()
{
char sign;
sign = '*';
a = 12;
b = 4;
switch(sign)
{
case '+':
www.eeworm.com/read/417350/10993518
txt 10-04.txt
%例10-4 判断某一年是否为闰年。。
%该函数用于判断某一年是否为闰年
%使用格式为isleapea(y),其中y是用户所要计算的年份
function isleapyear(year)
sign=0;
if rem(year,4)==0
sign=sign+1;
end
if rem(year,100)==0
sign=sign-1;
end
i
www.eeworm.com/read/417000/11007562
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/416411/11030648
m chap5_6f.m
function [kx,BsJ]=pid_fm_gaf(kx,BsJ)
global rin yout timef F
a=50;b=400;
ts=0.001;
sys=tf(b,[1,a,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
u_1=0;u_2=0;
y_1=0;y_2=0;
e_1=0;
www.eeworm.com/read/270583/11032445
h operation.h
double Operation(double x1,double x2,char sign)
{
if(sign=='+')
{
return x1+x2;
}
else if(sign=='-')
{
return x1-x2;
}
else if(sign=='*')
{
return x1*x2;
}
else if(sign==
www.eeworm.com/read/270436/11038541
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/470829/6909346
asm bootload.asm
;*************************************************************************
;* *
;* Generic AVR Bootloader *
;* *
www.eeworm.com/read/469779/6927019
m chap5_6f.m
function [kx,BsJ]=pid_fm_gaf(kx,BsJ)
global rin yout timef F
a=50;b=400;
ts=0.001;
sys=tf(b,[1,a,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
u_1=0;u_2=0;
y_1=0;y_2=0;
e_1=0;
www.eeworm.com/read/212797/6962560
m vtb1_5.m
function vtb1_5(m,k,dtype,dcoef,dt,tott,x0,v0)
%VTB1_5 Damping Simulations.
% VTB1_5(m,k,dtype,dcoef,dt,tott,x0,v0) plots the free decay of
% single degree of freedom systems with different types of
www.eeworm.com/read/469371/6973898
cc 2751418_ac_2919ms_288k.cc
#include
using namespace std;
typedef struct
{
int x;
int y;
int father;
int sign;
}node;
node mg[1001];
int n,d;
void init()
{
int i;
for(i=0;