代码搜索结果
找到约 33,766 项符合
Algorithm 的代码
readme.txt
//author email:angus006@gmail.com
//sample.txt为2维点集
//result.txt为结果
题目 :
Assignment II (b) Spatial Clusterring
There are 100,000 points in 2D space.
Try any kind of cluster algorithm to get
algorithm.c
#include "algorithm.h"
int RelBmp1[] = {0,0,0,0,0,0,0,0,0,0,0,0,139,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,180,255,255,255,255,255,255,255,255,255,255,255,2
filtergraph.m
function outVals=filtergraph(W,vals,iterations,algorithm,normFlag)
%function outVals=filtergraph(W,vals,iterations,algorithm,normFlag)
%implements a low-pass filter on the coordinates using either a m
a11_5.m
echo on; clc;
%---------------------------------------------------------------------------
%A11_5 MATLAB script file for implementing Algorithm 11.5
%
% NUMERICAL METHODS: MATLAB Programs, (c) J
a11_2.m
%---------------------------------------------------------------------------
echo on; clc;
%A11_2 MATLAB script file for implementing Algorithm 11.2
%
% NUMERICAL METHODS: MATLAB Programs, (c) J
a11_45.m
echo on; clc;
%---------------------------------------------------------------------------
%A11_45 MATLAB script file for implementing Algorithm 11.4
%
% NUMERICAL METHODS: MATLAB Programs, (c)
a11_1.m
%---------------------------------------------------------------------------
echo on; clc;
%A11_1 MATLAB script file for implementing Algorithm 11.1
%
% NUMERICAL METHODS: MATLAB Programs, (c) J
a11_4.m
echo on; clc;
%---------------------------------------------------------------------------
%A11_4 MATLAB script file for implementing Algorithm 11.4
%
% NUMERICAL METHODS: MATLAB Programs, (c) J
a3_i.m
echo on; clc;
%---------------------------------------------------------------------------
%A3_i MATLAB script file for implementing Algorithm 3.i
%
% NUMERICAL METHODS: MATLAB Programs, (c) Joh
bitload.m
function [bits_alloc,energy_alloc] = BitLoad(subchan_gains,total_bits,num_subc,gap,noise,M)
% Bit Loading Algorithm
% ---------------------
%
% Inputs :
% subchan_gains : SubCarrier Gain