代码搜索:Nearest
找到约 1,596 项符合「Nearest」的源代码
代码结果 1,596
www.eeworm.com/read/319404/13452632
m ex2406.m
%例24-6 非网格数据点绘图
%Ex24-6 non-uniform data
close all
clear
x=rand(1,20);
y=rand(1,20);
z=cos(0.5.*x).*sin(y);
xi=linspace(0,1,50);
yi=linspace(0,1,50);
[X,Y]=meshgrid(xi,yi);
subplot(2,2,1)
Z
www.eeworm.com/read/312163/13617480
m rbfpreimg3.m
function x = rbfpreimg3(model,nn)
% RBFPREIMG3 RBF pre-image problem by Kwok-Tsang's algorithm.
%
% Synopsis:
% x = rbfpreimg3(model)
% x = rbfpreimg3(model,nn)
%
% Description:
% x = rbfpreimg3(mo
www.eeworm.com/read/134901/5891511
m rbfpreimg3.m
function x = rbfpreimg3(model,nn)
% RBFPREIMG3 RBF pre-image problem by Kwok-Tsang's algorithm.
%
% Synopsis:
% x = rbfpreimg3(model)
% x = rbfpreimg3(model,nn)
%
% Description:
% x = rbfpreimg3(mo
www.eeworm.com/read/480200/6668065
m entropygrad.m
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% err = entropyGrad(npd,estType)
% Compute gradient of an entropy estimate for the npde
%
% entType is one
www.eeworm.com/read/345494/11813202
m ex2406.m
%例24-6 非网格数据点绘图
%Ex24-6 non-uniform data
close all
clear
x=rand(1,20);
y=rand(1,20);
z=cos(0.5.*x).*sin(y);
xi=linspace(0,1,50);
yi=linspace(0,1,50);
[X,Y]=meshgrid(xi,yi);
subplot(2,2,1)
Z
www.eeworm.com/read/153823/12004165
m lonlat2city.m
function [idx,dist,drt,dstr] = lonlat2city(XY,city)
%LONLAT2CITY Determine nearest city given longitude-latitude of location.
% [idx,dist,drt,dstr] = lonlat2city(XY,city)
% XY = n x 2 matrix of
www.eeworm.com/read/152288/12124186
m 3-38.m
axis([-3 3 -3 3 -5 20])
% 确定坐标轴的范围
[X,Y] = meshgrid(-3:.5:3);
% 生成网格
Z = peaks(X,Y);
% 计算peaks函数值
figure(1)
mesh(X,Y,Z)
% 绘制原始数据曲面图,如图3-9
[XI,YI] = meshgrid(-3:.125:3);
% 确定插值点
ZI1 = i
www.eeworm.com/read/150760/12265888
m rbfpreimg3.m
function x = rbfpreimg3(model,nn)
% RBFPREIMG3 RBF pre-image problem by Kwok-Tsang's algorithm.
%
% Synopsis:
% x = rbfpreimg3(model)
% x = rbfpreimg3(model,nn)
%
% Description:
% x = rbfpreimg3(mo
www.eeworm.com/read/219121/14893660
m nearestestimate.m
% 最近邻估计
% 直接通过测试样本估计
function [Nearest]=NearestEstimate(trainX,trainY,testX)
trainCnt=size(trainX,2); % 训练样本数量
testCnt=size(testX,2); % 测试样本数量
Nearest=zeros(1,testCnt);
www.eeworm.com/read/213492/15133710
m rbfpreimg3.m
function x = rbfpreimg3(model,nn)
% RBFPREIMG3 RBF pre-image problem by Kwok-Tsang's algorithm.
%
% Synopsis:
% x = rbfpreimg3(model)
% x = rbfpreimg3(model,nn)
%
% Description:
% x = rbfpreimg3(mo