代码搜索:Nearest

找到约 1,596 项符合「Nearest」的源代码

代码结果 1,596
www.eeworm.com/read/102840/15756482

m exp2_16.m

%curve interpolation ys=[0 0.9 0.6 1 0 0.1 -0.3 -0.7 -0.9 -0.2]; %已有的样本点ys xs=0:length(ys)-1; %已有的样本点xs x=0:0.1:length(ys)-1;%新的样本点x y1=interp1(xs,ys,x,'nearest'); %插值产生新的样本点y1 y2=interp1(xs,ys,
www.eeworm.com/read/431296/8690852

c 9.32.c

9.32③ 编写递归算法,求二叉排序树上的小于x且 最靠近x的值a和大于x且最靠近x的值b。如果这样的 a或b值不存在,则分别返回MINV和MAXV。 实现下列函数: void OutX(BiTree t, KeyType x, KeyType &a, KeyType &b); /* a: Return the nearest and smaller value to x, */
www.eeworm.com/read/426535/9014878

m ex1602.m

%例16-2 其他几种方法对sin函数进行插值 x = 0:10; y = sin(x); xi = 0:.25:10; yi=sin(xi); y1=interp1(x,y,xi,'nearest'); y2=interp1(x,y,xi,'spline'); y3=interp1(x,y,xi,'cubic'); grid on plot(x,y,'o',xi,yi,xi,y
www.eeworm.com/read/181008/9277359

m echoon_yanshi.m

%example3_6.m echo on method='Bilinear'; switch lower(method) case{'linear','bilinear'} disp('Method is linear') case'cubic' disp('Method is cubic') case'nea
www.eeworm.com/read/181003/9277387

m echoon_yanshi.m

%example3_6.m echo on method='Bilinear'; switch lower(method) case{'linear','bilinear'} disp('Method is linear') case'cubic' disp('Method is cubic') case'nea
www.eeworm.com/read/374411/9407108

m knn.m

function [neighbors, distance] = knn(kde,points,k) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % [neighbors, distance] = knn(kde,points,k) % % Find the
www.eeworm.com/read/360995/10069848

m dnndd.m

%DNNDD Distance nearest neighbour data description method. % % W = dnndd(D,fracrej) % % Calculates the Nearest neighbour data description on distance data. % Training only consists of the comp
www.eeworm.com/read/360995/10069852

m dknndd.m

%DKNNDD Distance K-Nearest neighbour data description method. % % W = DKNNDD(D,FRACREJ,K,METHOD) % % Calculates the K-Nearest neighbour data description on distance % dataset D. Two methods a
www.eeworm.com/read/359177/10162363

m ch8example17.m

% ch8example17.m x=-1:0.01:1; y=1./(1+9*x.^2); plot(x,y,'k');hold on; % 原始函数曲线 xs=[-1, -0.4, -0.1,0,0.3,0.7]; % 样本位置 ys=1./(1+9*xs.^2); plot(xs,ys,'o');hold on;
www.eeworm.com/read/459044/7283856

m ch8example17.m

% ch8example17.m x=-1:0.01:1; y=1./(1+9*x.^2); plot(x,y,'k');hold on; % 原始函数曲线 xs=[-1, -0.4, -0.1,0,0.3,0.7]; % 样本位置 ys=1./(1+9*xs.^2); plot(xs,ys,'o');hold on;