首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Matlab > 插值matlab

插值matlab

  • 资源大小:2.29 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Matlab matlab 插值

资 源 简 介

% Test problem for Akima interpolation % Ref. : Hiroshi Akima, Journal of the ACM, Vol. 17, No. 4, October 1970, %        pages 589-602. % x=0:10; y=[10 10 10 10 10 10 10.5 15 50 60 85]; xi=linspace(0,10,51); yf=akima(x,y,xi); subplot(2,2,1); plot(x,y,"o",xi,yf); title("Abscissa set 1") x=[0 1 3 4 6 7 9 10 12 13 15]; xi=linspace(0,15,51); yf=akima(x,y,xi); subplot(2,2,2); plot(x,y,"o",xi,yf); title("Abscissa set 2") x=[0 2 3 5 6 8 9 11 12 14 15]; xi=linspace(0,15,51); yf=akima(x,y,xi); subplot(2,2,3); plot(x,y,"o",xi,yf); title("Abscissa set 3") yf=spline(x,y,xi); subplot(2,2,4); plot(x,y,"o",xi,yf); title("Cubic spline")

文 件 列 表

AkimaTst.m
akima.m
license.txt
VIP VIP
0.295190s