代码搜索:Sign
找到约 10,000 项符合「Sign」的源代码
代码结果 10,000
www.eeworm.com/read/178172/9416662
c igcd.c
/* Removed the "else" in bgcdkernel, TP, 27.01.95*/
/* Integer Version 2.1, RD, 7.5.93 igcd.c */
/* removed "else" in Ibgcd, RD, 7.5.93 */
/* used Digitbgcd in Ibgcd, RD, 7.5.93 */
/* "bgcdkernel",
www.eeworm.com/read/178172/9416707
c idiv.c
/* Integer Version 2.0, RD, 20.1.93 idiv.c */
/* Integer Version 2.1, normdiv changed, introduced
quorem_p2p1, quorem_p3p2, RD, 30.4.93 */
/* flexible quorem_p2p1d, RD, 4.5.93 */
/* specialdiv, new
www.eeworm.com/read/177691/9440305
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/372507/9507228
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/372266/9514724
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/372259/9515197
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/176119/9515591
f90 qrdcmp.f90
SUBROUTINE qrdcmp(a,m,n,q)
REAL a(n,n),q(m,m)
INTEGER i,k,j
REAL s,t,f,h
do i=1,m
do j=1,m
q(i,j)=0.
end do
q(i,i)=1.
end do
do k=1,m-1
s=0.
do i=k,m
s=s+abs(a(i,k))
www.eeworm.com/read/371917/9530945
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/371709/9540762
m ibm2num.m
function x=ibm2num(b)
% ibm2num : convert IBM 32 bit floating point format to doubles
% x=num2ibm(b)
% b is a matrix of uint32
% x is a corresponding matrix of doubles
%
%
% See also num2ibm
%
%
www.eeworm.com/read/175563/9541192
eqn produce.fit.eqn
-- Copyright (C) 1991-2005 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and any o