代码搜索:Nearest
找到约 1,596 项符合「Nearest」的源代码
代码结果 1,596
www.eeworm.com/read/302615/13831290
txt ch2_19.txt
%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/126884/6010711
java codalist.java
package org.trinet.jasi;
import org.trinet.jasi.*;
public class CodaList extends JasiReadingList {
public CodaList() { }
/**
* Return a subset of this list containing the Coda that are
www.eeworm.com/read/120251/6077425
cpp ogrepaginglandscaperayscenequery.cpp
/***************************************************************************
OgrePagingLandScapeRaySceneQuery.cpp - description
-------------------
begin : Fri Sep 10 2003
copyrig
www.eeworm.com/read/113165/6139439
cpp ogrepaginglandscaperayscenequery.cpp
/***************************************************************************
OgrePagingLandScapeRaySceneQuery.cpp - description
-------------------
begin : Fri Sep 10 2003
copyrig
www.eeworm.com/read/492717/6407857
m example5_1.m
I=imread('rice.tif');
imshow(I);
I1=imresize(I,1.5,'nearest neighber'); %最近邻插值
figure,imshow(I1);
I2=imresize(I,1.5,'bilibear'); %双线形插值
figure,imshow(I2);
I3=imresize(I,1.5,'bicubic'); %双三次插值
www.eeworm.com/read/492717/6407858
m example5_2.m
I=imread('eight.tif');
I1=imrotate(I,30,'bilinear','crop');
I2=imrotate(I,30,'nearest neighber');
imshow(I);
figure,imshow(I1);
figure,imshow(I2);
www.eeworm.com/read/490407/6455903
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/490062/6457857
m knearestneighbors.m
function [neighborIds neighborDistances] = kNearestNeighbors(dataMatrix, queryMatrix, k)
%--------------------------------------------------------------------------
% Program to find the k - nearest
www.eeworm.com/read/488257/6500146
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/487268/6517446
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,