chebyshev spline and pchip usage
1 次查看(过去 30 天)
显示 更早的评论
Dear Matlab Users, I want to use equally spaced nodes or chebyshev nodes to evaluate my function at the nodes and then I want to construct an interpolating polynomial. Then I want to find zeros of the interpolating polynomial in an interval Z=[-1,1]
kd=constant; lambda=constant; Delta_E=constant;
z_dot= -((((1+z)./2)).*exp(1).^-(kd*(sqrt(2*lambda*(1+z)))))*(1+kappa)*(sqrt(1-z^2))*(sin(phi))/2;
Phi_dot=((Delta_E)+(lambda*z)-(((sqrt((1+z)./2)).*exp(1).^(-(kd*(sqrt(2*lambda*(1+z))))))).*(kappa*(sqrt((1-z)./(1+z)))-(sqrt((1+z)./(1-z)))))*(cos(phi))/2;
I would highly appreciate if you let me know how I can start, then I will write the code and ask again if I stuck somewhere.
Best, Fatemeh
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Splines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!