代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/153391/12036521
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/255755/12057920
m hclust.m
%HCLUST hierarchical clustering
%
% [LABELS, DENDROGRAM] = HCLUST(D,TYPE,K)
% DENDROGRAM = HCLUST(D,TYPE)
%
% INPUT
% D dissimilarity matrix
% TYPE string name of clustering criterion (opt
www.eeworm.com/read/254742/12121085
m program_2_1.m
% Program 2_1
% Generation of the ensemble average
%
R = 50;
m = 0:R-1;
s = 2*m.*(0.9.^m); % Generate the uncorrupted signal
d = rand(R,1)-0.5; % Generate the random noise
x1 = s+d';
stem(m,d)
www.eeworm.com/read/340916/12122731
cpp soln4_1.cpp
// Soln4_1.cpp
#include
#include
using std::cin;
using std::cout;
using std::endl;
using std::setw;
int main()
{
int arraySize = 5;
double* values = new double[a
www.eeworm.com/read/152289/12124115
m mean.m
function y=mean(x)
%MEAN Average or mean value
%for vectors,MEAN(x) is themean value of X
%for matrices, MEAN(X)is a row vector
[m,n]=size(x);
if m==1
m=n
end
y=sum(x)/n
www.eeworm.com/read/340554/12147764
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/151943/12158943
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/151936/12160807
c 25.c
# define N 8
# include
main( )
{
int x,num[N+1];
float st[N+1],ave,sum=0;
for (x=1;x
www.eeworm.com/read/340289/12167684
asm prog40q.asm
; PROG40q - Quick Sort
;
; This Application Loads the Top 128 Scratchpad Registers with a Psuedo Random
; Value and Then Sorts them Using a Quick Sort Algorithm.
;
; Myke Predko
; 98.04.08
www.eeworm.com/read/253821/12184201
c query.c
/* 学生成绩查询系统 */
# include
# include
void main( )
{
int select;
int i, j;
int score[5][7];
int average = 0;
int sum = 0;
do{
printf("本程序有4项功能:\n");
printf