Numerical Methods in Python Series - Simple Interpolation

Publié le: 27 juin 2021
sur la chaîne: ProCode CG
57
1

Numerical Methods in Python Series - Simple Interpolation

this tutorial will show you how to implement simple interpolation case in Python along with the visualization.

In the mathematical field of numerical analysis, interpolation is a type of estimation, a method of constructing new data points within the range of a discrete set of known data points. - Wikipedia

steps:
1. open Google Colab
2. type in the code

we use scipy.interpolate library to do the interpolation

line 5 - 6
we put x and y data

line 7
f is the function to plot x and y in linear

line 8
f2 is the function to plot x and y in cubic

line 10
determine new x

line 11 - 14
plotting the functions with new x and draw it

3. run the code and analyze the graph

you can try to put different data and interpolate it ;)

in the next tutorial we will learn more about interpolation, so make sure you’re subscribing this channel :)

References:
1. https://docs.scipy.org/doc/scipy/refe...

thanks for watching, don’t forget to subscribe, activate the notification bell, like this video and also share it to support this channel to be able to continuously creates useful tutorials :)

leave us some comments if there is any questions and let us know what you think :)

Intro and Outro created by ProCodeCG Kids: Islamey Fawwaz Alfattan

visit our website: http://procodecg.com

and blog: https://procodecg.wordpress.com

and follow us on Instagram:   / procodecg  

Twitter:   / procodecg  

Facebook:   / procodecg  


Sur cette page du site, vous pouvez voir la vidéo en ligne Numerical Methods in Python Series - Simple Interpolation durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur ProCode CG 27 juin 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 57 fois et il a aimé 1 téléspectateurs. Bon visionnage!