Advertisement
Guest User

spline

a guest
Apr 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. x = [];
  2. y = [];
  3. plot(xx,csapi(x,y,xx),'k-',x,y,'ro')
  4. title('Spline Graph')
  5. p = pchip(x,y);
  6. C = p.coefs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement