Lagrange or spline (interp2)
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I am working on a numerical calculation where I use spectral methods to find the flow profile. Although I can use cut-offs around 50*50 for 2D calculations. After having my velocity profile , I have been told that I can use an interpolation method to have velocity profile other than my grid points. In my calculation I am using non-uniform girds. So my data is not uniformly spaced. I wonder which one is a better way to interpolate my velocity profile. I know that if I use Lagrange polynomial I am going to use one polynomial for all my points. And in spline it is piece-wise. But I am not sure if it is piecewise linear for higher orders ?
Thank you
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Splines dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!