Numerical Methods in Python Series - Simple Interpolation

Опубликовано: 27 Июнь 2021
на канале: 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  


На этой странице сайта вы можете посмотреть видео онлайн Numerical Methods in Python Series - Simple Interpolation длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь ProCode CG 27 Июнь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 57 раз и оно понравилось 1 зрителям. Приятного просмотра!