代码搜索:Sign
找到约 10,000 项符合「Sign」的源代码
代码结果 10,000
www.eeworm.com/read/401167/7081803
cpp cifa.cpp
#include
#include
#include"stdio.h"
#include
#include
//#include"IsIndex.h"
//#include"IsOperator.h"
//#include"IsNumber.h"
//using namespace std;
#in
www.eeworm.com/read/411330/7083305
householder
Householder变换2007-07-16 18:33#include
#include
using namespace std;
#define n 5 //输入一个5维的向量,n的值可更改
int sign(float x) //定义符号函数
{
if(x
www.eeworm.com/read/222631/7092974
m chap5_4f.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/272224/7096345
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/198440/7147541
m jiaodian.m
[f,map]=imread('line.bmp');
%*****************************************
% sucer@image2003.com
% scp8462@163.com
%
%*****************************************
%函数实现了图像中单象素宽白色相交直
www.eeworm.com/read/463474/7180285
m pwammap3.m
function fx=PWAMmap3(x,rParam)
%rParam=2.1...3 for chaos (see rParam=3)
%x0=0.4
%parameters
B=rParam;
D=1;
if abs(x)
www.eeworm.com/read/463353/7182870
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,len],[i
www.eeworm.com/read/463107/7187477
c zero4.c
#include
#include
//此代码来源《数字信号处理C语言程序集》殷福亮、宋爱军,沈阳:辽宁科学技术出版社,1997.7
//数组x存储时域序列的实部,数组y存储时域序列的虚部
//n代表N点FFT,sign=1为FFT,sign=-1为IFFT
void FFT(double x[],double y[],int n,int sig
www.eeworm.com/read/460181/7256278
m modflip.m
function y = modflip(x)
%
% y = modflip(x)
% x must be column or a row vector.
%
% X(z) = x(0) + x(1)/z + x(2)/z^2 + x(N-1)/z^N
% Y(z) = X(-1/z) z^(-N) where N = deg{X}
N = length(x);
x(2:2:N) = -
www.eeworm.com/read/459616/7270640
h curr2.h
#ifndef Currency_
#define Currency_
#include
#include
enum sign {plus, minus};
class Currency {
public:
// constructor
Currency(sign s = plus, unsigned long