This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FourierDecomp | |
global delx1 delx2 dely1 dely2 DELX1 DELX2 DELY1 DELY2 xLCf1 yLCf1 xLCf2 ... | |
yLCf2 minXf1 minXf2 minYf1 minYf2 | |
close all | |
t = 0:pi/50:6*pi; | |
X1 = 4*cos(t)/pi; | |
Y1 = 4*sin(t)/pi; | |
X2 = 4*cos(3*t)/(3*pi); |