代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/433368/7938060
m e0328.m
%循环程序
maxcount=1;
tic;%启动定时器
for jj=1:maxcount
a=1:10000;
for ii=1:10000
if a(ii)>5000
a(ii)=sqrt(a(ii));
end
end
end
average1=(toc)/maxcount; %toc为读
www.eeworm.com/read/298649/7946857
c report.c
/*
* GENESIS Copyright (c) 1986, 1990 by John J. Grefenstette
* This program may be freely copied for educational
* and research purposes. All other rights reserved.
*
* file: report
www.eeworm.com/read/197565/7985883
m cp0202_transmitter_2pam_ds.m
%
% FUNCTION 2.9 : "cp0202_transmitter_2PAM_DS"
%
% Simulation of a UWB transmitter implementing 2PAM with DS
%
% Transmitted power is fixed to 'Pow'
% The signal is sampled with frequency 'fc'
www.eeworm.com/read/197565/7985929
m cp0301_ppm_sin.m
%
% FUNCTION 3.1 : "cp0301_PPM_sin"
%
% Generation of a PPM-UWB signal in the case of a
% sinusoidal modulating signal and rectangular pulses
%
% Transmitted power is fixed at 'Pow'
% The sign
www.eeworm.com/read/398242/7997418
c 6.c
# define N 5
main( )
{
int x , num[N+1] ;
float st[N+1] , ave , sum=0;
for (x=1 ; x
www.eeworm.com/read/197407/7998777
cpp act1.cpp
// average completion time with one person
#include
#include "hsort.h"
class Task {
friend void main(void);
public:
operator int () const
{return time;}
www.eeworm.com/read/196428/8092681
c lt417.c
# include "stdio.h"
void main( )
{ float score[10],aver;
float average( );
int i;
char s;
printf("input 10 score:\n");
for (i=0;i
www.eeworm.com/read/396426/8108667
cpp client.cpp
#include
class client
{
public:
int stime;//服务时间
int wtime; //等待时间
};
client *c;
int main()
{
int n,num;//顾客数
cin>>n;
num=n;
c=new client[n+1];
int i,j;
for(i
www.eeworm.com/read/195683/8135710
c al7_7.c
/*案例代码文件名:AL7_7.C*/
/*功能:数组名作为函数参数,求平均成绩*/
float aver(float a[ ]) /*定义求平均值函数,形参为一浮点型数组名*/
{int i;
float av,s=a[0];
for(i=1;i
www.eeworm.com/read/333610/12668888
c shiyan5.c
#include
#include
#include
#define L 50 /*定义哈希表长*/
#define M 47 /*定义p值*/
#define N 30 /*定义名单长*/
char z[22];
struct old{char *name;char *py;int k;};
struct