Numerical Methods in Python Series - Simple Interpolation

Publicado el: 27 junio 2021
en el canal de: 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  


En esta página del sitio puede ver el video en línea Numerical Methods in Python Series - Simple Interpolation de Duración hora minuto segunda en buena calidad , que subió el usuario ProCode CG 27 junio 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 57 veces y le gustó 1 a los espectadores. Disfruta viendo!