代码搜索:Num
找到约 10,000 项符合「Num」的源代码
代码结果 10,000
www.eeworm.com/read/299182/7881070
py test.py
def z38():
#解方程x*5+y*2+z=100
num=1
for i in range(0,100,5):
for j in range(0,100,2):
for m in range(0,100):
if i+j+m==100:
pr
www.eeworm.com/read/399121/7887774
c biterrfast.c
/* Bit or symbol error rate calculator.
* July 08, 2003
* B. Nugroho */
#include "mex.h"
void bit_err(double num[], double rat[], double a[], double b[], int L)
{
int err = 0;
in
www.eeworm.com/read/434001/7898433
c problem.c
/*
要求:有5个哲学家坐在一个圆桌上,他们的生活方式是交替的进行思考和就餐。食物摆在桌子中间,桌子
上总共有5把叉子,每个哲学家的左右手各有一把。因为吃饭时,哲学家需要同时使用左手和右手
的叉子,所以哲学家必须和他左边和右边的哲学家共享叉子。在这个实验中,假定哲学家每次吃饭
的时间长度为单位1,吃完一次后则放下两把叉子。如果等待10个单位时间长度之后, ...
www.eeworm.com/read/399023/7900110
cpp pso.cpp
#include"stdio.h"
#include"stdlib.h"
#include"time.h"
#include"math.h"
//定义随机数
#define rdint(i) (rand()%(int)(i)) // 随机产生小于i的整数
#define rdft() (float)((double)rdint(16384)/(16383.0)) //随机产生小
www.eeworm.com/read/399021/7900134
cpp pso.cpp
/*
随机微粒群算法
*/
#include"stdio.h"
#include"stdlib.h"
#include"time.h"
#include"math.h"
//定义随机数
#define rdint(i) (rand()%(int)(i)) // 随机产生小于i的整数
#define rdft() (float)((double)rdint(1
www.eeworm.com/read/198918/7903916
m geth2.m
function [v,ierr]=geth2(G)
G=tf(G); num=G.num{1}; den=G.den{1};
ierr=0; v=0; n=length(den);
if abs(num(1))>eps
disp('System not strictly proper');
ierr=1; return
else, a1=den; b1=num(2:l
www.eeworm.com/read/198892/7904496
txt watershed.txt
//Image Watershed Segmentation
//This is the implementation of the algorithm based on immersion model.
// ===========================================================================
// ===== M
www.eeworm.com/read/398836/7916423
c stoi.c
/* stoi.c -- More powerful version of atoi */
static char rcsid[] = "@(#)stoi.c 1.1 13:15:03 7/1/92 EFC";
#define islower(c) ( 'a'
www.eeworm.com/read/398826/7917350
h dce.h
This file contributed by the Tape Join project and modified locally.
See attached copyright notice.
*/
/*
$Id: DCE.h,v 1.8 1996/12/13 21:34:02 jussi Exp $
$Log: DCE.h,v $
Revision
www.eeworm.com/read/398819/7918773
m sgrpdlay.m
function [gd,fnorm]=sgrpdlay(x,fnorm);
%SGRPDLAY Group delay estimation of a signal.
% [GD,FNORM]=SGRPDLAY(X,FNORM) estimates the group delay of
% signal X at the normalized frequency(ies) FNORM.
%
%