%fig6_47 figure('pos',[100,100,200,180],'color','w'); G=tf(400,[1 30 200 0]); ess=0.1; Mp=0.1; ts=2; zet=0:0.1:0.9; mp=exp(…
Cubic+Spline 源代码
汇集 Cubic+Spline 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
x=1:10; y = [4 2.5 -2 -1 2 5 4 6 4.5 3]; x2=1:0.05:10; p = polyfit(x,y,5) y2=polyval(p,x2); plot(x,y,'o',x2,y2) p = polyfit(…
function r=nt2(x,y) m=length(x); h=0.1; for i=2:m t=x(i)-h; s=spline(x,y,t); r(i)=(y(i)-s)/h; …
C++ src for simple b-spline curve algorithm
% Spline Toolbox偺椺戣 % % Spline Toolbox 偺巊梡傪愢柧偡傞偄偔偮偐偺僔儞僾儖側椺戣偱偡丅 % Copyright 1987-2003 The MathWorks, Inc.
'-- TYPE N BD(1) BD(2) BD(3) BD(4) BD(5) NBNODE RAISON NUREFG NUREFD NUREF1G NUREF1D NUREF2G NUREF2D' 'DROITE' 1 -…
'-- TYPE N BD(1) BD(2) BD(3) BD(4) BD(5) NBNODE RAISON NUREFG NUREFD NUREF1G NUREF1D NUREF2G NUREF2D' 'DROITE' 1 -…
S 1 /COM,ANSYS RELEASE 9.0 UP20041104 10:46:49 03/14/2007 S 2 /NOPR …
function v = pchiptx(x,y,u) %PCHIPTX Textbook piecewise cubic Hermite interpolation. % v = pchiptx(x,y,u) finds the shape-pres…
function v = pchiptx(x,y,u) %PCHIPTX Textbook piecewise cubic Hermite interpolation. % v = pchiptx(x,y,u) finds the shape-preser…