代码搜索:Sign
找到约 10,000 项符合「Sign」的源代码
代码结果 10,000
www.eeworm.com/read/282801/9059786
cpp 哈夫曼编码.cpp
#define INT_MAX 10000
#define ENCODING_LENGTH 1000
#include "stdio.h"
#include "string.h"
#include "malloc.h"
typedef enum{none,left_child,right_child}Which;//标记是左孩子还是右孩子
typedef char Elemtype;/
www.eeworm.com/read/381951/9062030
cpp extremumgold1d.cpp
//ExtremumGold1D.CPP 黄金分割法求一维函数极值
#include //模板类iostream输入输出流标准头文件
#include "Extremum.h" //极值头文件
using namespace std; //名字空间
void main()
{
double fextremum,ax,bx,cx,fa,fb,fc,
www.eeworm.com/read/380755/9129720
m crc decode.m
% 采用美国16-CRC标准
% 16bit CRC 生成多项式D16+D1+D2+1
% 输入code为要进行解码的码源
% 返回值sign是指示是否出现错误1为有错,0为无错
% 如果正确 指示0 并解码,decode 为解码后的码
function [decode] =CrcDecode(code)
generator = [1 0 0 0 0 0 1 0 0 0 1 1 1 0
www.eeworm.com/read/380755/9129729
m crcdecode.m
% 采用美国16-CRC标准
% 16bit CRC 生成多项式D16+D1+D2+1
% 输入code为要进行解码的码源
% 返回值sign是指示是否出现错误1为有错,0为无错
% 如果正确 指示0 并解码,decode 为解码后的码
function [decode] =CrcDecode(code)
generator = [1 0 0 0 0 0 1 0 0 0 1 1 1 0
www.eeworm.com/read/380446/9149250
cpp extremumgold1d.cpp
//ExtremumGold1D.CPP 黄金分割法求一维函数极值
#include //模板类iostream输入输出流标准头文件
#include "Extremum.h" //极值头文件
using namespace std; //名字空间
void main()
{
double fextremum,ax,bx,cx,fa,fb,fc,
www.eeworm.com/read/380443/9149561
h dct.h
#ifndef __DCT
#define __DCT
#include "pi.h"
#define BLOCKSIZE 50
#define MAX_NUM_ROWS 2050
void FastCosineTransform(float *array, int xsize, int ysize,
int sign);
www.eeworm.com/read/380151/9159799
m ex_3.m
%例4
clear all
syms t
f=maple('heaviside(t+3)-2*heaviside(t)');
t1=-5:0.01:5;
ff=subs(f,t,t1);
figure(1)
plot(t1,ff),axis([-5,5,-1.2,1.2]),title('u(t+3)-2u(t)')
t=-5:0.01:5;
f=heaviside(t+3)-2
www.eeworm.com/read/182900/9186783
m outsideconvex.m
function i=outsideConvex(x,n,o,tol)
% function i=outsideConvex(x,n,o,tol). Determine which points are outside
% the convex object described by n'*x+o
www.eeworm.com/read/379469/9195063
m valve_motor_pinion.m
%valve_moter_pinion.m
%differential equation
function dxdt=valve_motor_pinion(t,x)
%dxdt=zeros(8,1);
%x=zeros(8,1);
%ui=zeros(4,1);
ui=[10;-10;10;-10];
%------------------------
i1=44.8;
i2=4
www.eeworm.com/read/379469/9195070
asv valve_motor_pinion.asv
%valve_moter_pinion.m
%differention equation
function dxdt=valve_motor_pinion(t,x,ui)
i1=44.8;
i2=4.21;
%--------------------油路1的参数
Jm1=200;%马达的转动惯量
Ip1=4000;%小齿轮的转动惯量
Je1=Jm1*i1+Ip1*i2;%等效惯量