%例16-7 griddata在二维插值中的应用 x = rand(100,1)*4-2; %产生100个[-2 2]的均匀分布数据 y = rand(100,1)*4-2; z = x.*exp(-x.^2-y.^2); ti = -2:.25:…
Cubic+Spline 源代码
汇集 Cubic+Spline 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
%例10-10 switch - case - otherwise - end分支语句的使用。 function lower1(method) switch method case {'linear','bilinear'} …
startp=[0,800];endp=[4000,2000]; unit=100;bb=0.125;%bb为坡度 n=1; a(n,:)=startp; while 1 if a(n,:)==endp; break; …
具有远近感的立体对象
立体五角锥旋转
/* Ming, an SWF output library Copyright (C) 2002 Opaque Industries - http://www.opaque.net/ This library is free so…
-------------------------------------------------- --------- Choose one Bravais lattices: ----------- --------------------------…
具有远近感的立体对象
立体五角锥旋转
function [data,a]=hermitenormalize(data) % The function HERMITENORMALIZE normalizes with cubic hermite interpolation (pchip), % …