Question: Write a python code to find the discrete least squares trigonometric polynomial by explictly finding ak ,bk. Your inputs should be vectors x,y (data vectors),
Write a python code to find the discrete least squares trigonometric polynomial by explictly finding ak ,bk. Your inputs should be vectors x,y (data vectors), and n (degree of
polynomial). Your output should be the coeffcients of the trig polynomial
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
