代码搜索:Nearest
找到约 1,596 项符合「Nearest」的源代码
代码结果 1,596
www.eeworm.com/read/332926/12717072
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/245506/12796856
m m0207.m
x=0:9;
x1=0:0.01:9;
y=[0,1.8,2.1,0.9,0.2,-0.5,-0.2,-1.7,-0.9,-0.3];
y1=interp1(x,y,x1,'nearest');
y2=interp1(x,y,x1,'linear');
y3=interp1(x,y,x1,'spline');
y4=interp1(x,y,x1,'cubic');
plot(x,y,
www.eeworm.com/read/137365/13326406
lnt co-iar.lnt
// co-iar.lnt
// Compiler Options for IAR C
// This file contains options to allow PC-lint to process source
// files for your compiler. It is used as follows:
//
// lint co-ia
www.eeworm.com/read/137160/13341873
m knnc.m
%KNNC K-Nearest Neighbor Classifier
%
% [W,K,E] = KNNC(A,K)
% [W,K,E] = KNNC(A)
%
% INPUT
% A Dataset
% K Number of the nearest neighbors (optional; default: K is
% optimized with resp
www.eeworm.com/read/322127/13389485
txt 图像几何操作.txt
图像几何操作
1. 插值方法
'nearest' %最邻近插值,为缺省的插值方法
'bilinear' %双线性插值
'bicubic' %双三次插值
2. 图像大小调整
B=imresize(A,m,method) %m为缩放系数,method为插值方法
3. 图像的旋转
B=imrotate(A,angle,method)
4. 图像的剪切
www.eeworm.com/read/319404/13452367
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/313329/13590235
txt 拉格郎日插值matlab.txt
>> x=[0.4 0.5 0.6 0.7 0.8];
>> y=[-0.916291 -0.693147 -0.510826 -0.356675 -0.223144];
>> T=interp1(x,y,0.54,'linear') %线性插值
T =
-0.6202
>> T=interp1(x,y,0.54,'nearest') % 最近邻点插值
T =
www.eeworm.com/read/310872/13642004
txt todo.txt
TODO for Caliph & Emir
======================
(*) Emir: Display semantic graphs in ResultList
(*) Emir: Nearest neighbor index for graphs (B-tree,
R*-tree, ...)
www.eeworm.com/read/132069/5925903
c setclrs.c
/* ***** BEGIN LICENSE BLOCK *****
* Version: RCSL 1.0/RPSL 1.0
*
* Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the
www.eeworm.com/read/493294/6399870
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