PYTHON/JUPYTER NOTEBOOKS  given the attached fourier data : # Measurements of fourier data     data = [         [-2.00, -9.37], [-1.00, 10.00], [-1.14, 10.83], [-0.29, -13.88],         [0.00, -18.00], [0.57, -1.83], [1.00, 14.00], [1.43, 14.5],         [2.00, 0.00], [2.29, -1.38], [3.00, 28.00], [3.14, 35.64],         [4.00, 37.88], [5.00, -23.00], [4.86, -17.52], [5.71, -14.63],         [6.00, -1.00], [6.50, -15.00], [6.57, -1.73], [7.00, 12.00],         [7.43, 5.97], [7.50, 2.00], [8.29, 22.78], [9.00, 1.00],         [9.14, -6.41], [10.0, -9.37] Fit the data with the linear least-squares fit method using Fourier basis functions. Use 15 pairs of sines and cosines and create the plots/results below. x_vec = [ 1.591 -0.42 5.684 -5.112 -2.257 0.36 4.546 -7.626 0.341 -4.391 1.092 1.878 4.286 7.783 -3.427 -4.608 1.763 -0.957 -1.751 3.441 2.857 -2.624 2.96 0.911 -2.538 2.782 -1.943 -8.819 1.635 2.123 2.123] Local Relative Error (discarding y values < 0.1): mean [%] = 17.08 std [%] = 89.43 max, min [%] = 450.00, -45.00   discarding |?| values < 0.1

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

PYTHON/JUPYTER NOTEBOOKS 

given the attached fourier data :

# Measurements of fourier data
    data = [
        [-2.00, -9.37], [-1.00, 10.00], [-1.14, 10.83], [-0.29, -13.88],
        [0.00, -18.00], [0.57, -1.83], [1.00, 14.00], [1.43, 14.5],
        [2.00, 0.00], [2.29, -1.38], [3.00, 28.00], [3.14, 35.64],
        [4.00, 37.88], [5.00, -23.00], [4.86, -17.52], [5.71, -14.63],
        [6.00, -1.00], [6.50, -15.00], [6.57, -1.73], [7.00, 12.00],
        [7.43, 5.97], [7.50, 2.00], [8.29, 22.78], [9.00, 1.00],
        [9.14, -6.41], [10.0, -9.37]

Fit the data with the linear least-squares fit method using Fourier basis functions. Use 15 pairs of sines and cosines and create the plots/results below.

x_vec = [ 1.591 -0.42 5.684 -5.112 -2.257 0.36 4.546 -7.626 0.341 -4.391 1.092 1.878 4.286 7.783 -3.427 -4.608 1.763 -0.957 -1.751 3.441 2.857 -2.624 2.96 0.911 -2.538 2.782 -1.943 -8.819 1.635 2.123 2.123]

Local Relative Error (discarding y values < 0.1):
mean [%] = 17.08
std [%] = 89.43
max, min [%] = 450.00, -45.00
 

discarding |?| values < 0.1

Power [y au]
4
1
0
0
Power Spectrum N = 15
4
8
10
Cycle Frequency (wk = kµ/2π) [cycles/period]
6
12
14
Transcribed Image Text:Power [y au] 4 1 0 0 Power Spectrum N = 15 4 8 10 Cycle Frequency (wk = kµ/2π) [cycles/period] 6 12 14
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY