Exercise: Fitting a Wave
In this exercise, you will find the parameters of an unknown equation by solving a system of linear equations.
We'll cover the following
Task
In this exercise, you will fit a wave by finding the unknown parameters of the equation
using the data:
Problem statement
By substituting the values given above, form a system of four linear equations and solve for the unknown parameters: and
Create a plot of the wave for going from to . Show the four measurements given above with dots. Add legends to your graphs as well.
A basic structure of the code is given to get you started.
Get hands-on with 1400+ tech skills courses.