Skip to content

Fourier series approximations of some functions, coded in C, plotted with matplotlib.

Notifications You must be signed in to change notification settings

AbhinavM2000/fourier_series

Repository files navigation

Usage:

1. Run .c to plot points and get txt files with x y coordinates.

2. Run plot.py to draw the graph.

Note: After you run the C code, data.txt contains x y values of the fourier series function data1.txt contains x y values of the original function.


Questions (A-F):

Questions

Requirements:

1. gcc or any C compiler.

2. python with matplotlib (for plot.py if you want to use it to plot graphs, or you can use the x y values from the txt files).



Graphs obtained from plot.py:

A1
stacked graphs from f_series_stp2.c
A
A
B
B
C
C
D
D
E
E
F
F

About

Fourier series approximations of some functions, coded in C, plotted with matplotlib.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages