Interpolation Calculator image

Interpolation Calculator

Project Overview

GitHub

Designing a automatic calculator which can calculate and plot the cubic splines and interpolated polynomials of a given set of univariate data.

Skills Used

MATLAB Multibody Dynamics Numerical Methods Python

Project Timeline

  • May 2025

    First Iteration with only 3 data points

  • June 2025

    Generalising cubic spline interpolation

  • July 2025

    Generalising polynomial interpolation + comparisons


  • Overview

    Calculators for spline and polynomial interpolation

    Inspired by the lectures of Prof. Dr. Achim Kehrein on Numerical Mathematics.

    🔧 Current Features

    • Cubic spline interpolation from a set of data points (either clamped or natural, just change the flag variable)
    • Polynomial interpolation from a set of data points (using Newton’s Approach)
    • Plots of both interpolations on the same axes for comparison
    • Polynomial interpolation of 3 points (using Lagrange’s Approach) in Python

    “Example with 9 Data Points”

    📦 Requirements

    • MATLAB R2018b or later
    • Python (only for Lagrange Interpolater)

    🚧 Future Work

    • Implementing cubic spline and newton interpolaters in Python and generalising the lagrange interpolater.

    📚 References

    KEHREIN, Achim. A Primer On Numerical Mathetmatics For Scientists and Engineers. (unreleased, TBA)


    Logs

    Sorry, no logs for this project.