代码搜索:Nearest
找到约 1,596 项符合「Nearest」的源代码
代码结果 1,596
www.eeworm.com/read/417309/10995528
txt 05-07.txt
% Interpolation using the four methods
x=[0 3 5 7 9 11 12 13 14 15];
y=[0 1.2 1.7 2.0 2.1 2.0 1.8 1.2 1.4 1.6];
length_of_x=length(x);
scalar_x=[x(1):0.5:x(length_of_x)];
length_of_sx=length(scal
www.eeworm.com/read/165898/10047463
m interp1_example.m
%interp1_example.m
%用不同插值方法对一维数据进行插值,并比较其不同
x = 0:1.2:10;
y = sin(x);
xi = 0:0.1:10;
yi_nearest = interp1(x,y,xi,'nearset'); %最邻近插值
yi_linear = interp1(x,y,xi); %默认插值方法是线性插值
yi_sp
www.eeworm.com/read/274556/7127122
m e0458.m
x = 0:1; y1 = sin(x); y2=cos(x);xi = 0:.25:1;
yi1 = interp1(x,y1,xi),yi2= interp1(x,y2,xi) %线性插值方法
yi1 = interp1(x,y1,xi,'nearest'),yi2= interp1(x,y2,xi,'nearest') %最邻近插值
www.eeworm.com/read/433368/7937662
m e0458.m
x = 0:1; y1 = sin(x); y2=cos(x);xi = 0:.25:1;
yi1 = interp1(x,y1,xi),yi2= interp1(x,y2,xi) %线性插值方法
yi1 = interp1(x,y1,xi,'nearest'),yi2= interp1(x,y2,xi,'nearest') %最邻近插值
www.eeworm.com/read/139229/13172673
h hnfpcontrol.h
/*
* HnFPControl.h
* Copyright (C) 2000 Norio Katayama
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Lic
www.eeworm.com/read/308602/13699077
m e0458.m
x = 0:1; y1 = sin(x); y2=cos(x);xi = 0:.25:1;
yi1 = interp1(x,y1,xi),yi2= interp1(x,y2,xi) %线性插值方法
yi1 = interp1(x,y1,xi,'nearest'),yi2= interp1(x,y2,xi,'nearest') %最邻近插值
www.eeworm.com/read/303498/13814418
m e0458.m
x = 0:1; y1 = sin(x); y2=cos(x);xi = 0:.25:1;
yi1 = interp1(x,y1,xi),yi2= interp1(x,y2,xi) %线性插值方法
yi1 = interp1(x,y1,xi,'nearest'),yi2= interp1(x,y2,xi,'nearest') %最邻近插值
www.eeworm.com/read/213911/6312094
m runexa.m
msg=' year Cubic Linear Nearest Spline';
for i=0:8
n=10*i;
year=1905+n;
pop(i+1,1)=year;
pop(i+1,2)=yi_cubic((year-1900)/0.01+1);
pop(i+1,3)=yi_linear((year-1900)/0.0
www.eeworm.com/read/480149/6677895
m interp1_example.m
%interp1_example.m
%用不同插值方法对一维数据进行插值,并比较其不同
x = 0:1.2:10;
y = sin(x);
xi = 0:0.1:10;
yi_nearest = interp1(x,y,xi,'nearset'); %最邻近插值
yi_linear = interp1(x,y,xi); %默认插值方法是线性插值
yi_sp
www.eeworm.com/read/409142/11345168
m interp1_example.m
%interp1_example.m
%用不同插值方法对一维数据进行插值,并比较其不同
x = 0:1.2:10;
y = sin(x);
xi = 0:0.1:10;
yi_nearest = interp1(x,y,xi,'nearset'); %最邻近插值
yi_linear = interp1(x,y,xi); %默认插值方法是线性插值
yi_sp