-
BruteSearch
K-nearest neighbors 搜索 聚类时经常使用的一种方法 国外网站转载( The following utilities are provided:
- Nearest neighbor
- K-Nearest neighbors
- Radius Search
They al supports N-dimensions and work on double, it is possible to choose if return the distances.
Here is a time comparison with a vectrized m-code:
N=1000000 number of reference points
Nq=100 number of query points
dim=3 dimension of points
k=3 number of neighbor
tic
[idc,dist]=BruteSearchMex(p ,qp , k ,k) MEX
toc
tic
[idc,dist]=knnsearch(qp,p,k) VECTORIZED M-CODE
toc
p=rand(N,dim)
qp=rand(Nq,dim)
Output:
Elapsed time is 0.962640 seconds.
Elapsed time is 18.813100 seconds. )
- 2009-03-30 08:08:08下载
- 积分:1
-
femnc
FEM 计算电磁铁周围磁场分布的程序,简洁易懂(FEM calculation of magnetic field distribution around the magnet program and easy to read)
- 2010-10-04 22:42:23下载
- 积分:1
-
ppmth
说明: rs码的产生,超宽带系统的发射接收程序,及其性能测试(rs code generation, ultra-wideband transceiver system procedures, and performance testing)
- 2009-07-26 17:08:53下载
- 积分:1
-
all_shortest_paths
calculate shortest distance between nodes in matlab
- 2013-03-06 01:00:59下载
- 积分:1
-
BVP_tutorial
求解常微分方程组的bvp解算器的使用说明和教程和实例(tutorial and documentary and examples for ODE bvp)
- 2013-11-02 00:06:12下载
- 积分:1
-
shiliangkongzhi
本文根据异步电动机矢量控制的基本原理,基于Matlab 软件构造了按转子磁场定向的矢量控制系统的仿真模型。(According to the basic principle of vector control of asynchronous motor, the simulation model of vector control system oriented by rotor field is constructed based on the software of matlab.)
- 2019-04-09 14:52:28下载
- 积分:1
-
matlab
用matlab软件验证线性规划问题,用matlab软件验证线性规划问题(Matlab software verification using linear programming problem, using matlab software to verify linear programming problem)
- 2009-05-27 10:53:29下载
- 积分:1
-
-component-analysis
用独立分量分析方法实现地震转换波与多次反射波分离(Using independent component analysis method to achieve multiple seismic converted wave and the reflected wave separation)
- 2013-11-04 17:11:45下载
- 积分:1
-
shulifangcheng
本代码为数学物理方程研究课题的一部分,编码实现了数值解析法,分离变量法,有限差分法,对几类方法进行了仿真(This code is part of the research in mathematical physics equations, coding to achieve a numerical analysis method, separation of variables method, finite difference method, several types of methods for simulation)
- 2015-01-22 09:30:21下载
- 积分:1
-
canny
This program performs canny edge detection. (MATLAB code)
- 2010-10-19 20:52:33下载
- 积分:1