%% Fourier Harmonics
% This script will plot first three harmonics of a triangular and square wave.
% All the figures that are plotted with this script will be drawn in this file itself. If you want to get them in a seperate window click on the arrow in the upper right corner of the plot.
%
% Do not edit the following code box.

addpath('subfiles\');

%
%% Plot properties
% Give the period of the signal in millisecond:

T = 200;

% Give the desired amplitude for the square wave:

A = 10;

% And the amplitude for the triangular wave:

B = 10;

%
%% Plotting
% Do not edit the following code box.

FourierHarmonics_script;