Sie sind auf Seite 1von 11

MAPÚA UNIVERSITY

SCHOOL OF EE–ECE-CoE
INTRAMUROS, MURALLA, MANILA

Advance Electronics Engineering Mathematics


Laboratory

Experiment No.7

Experiment Title:

Fourier Transform

March 28, 2020 April 4, 2020


Date Performed Date Submitted

Name: Gamboa, Kurl Vincent P.


Course/Sec: ECEA106L – E03 Grade

Engr. Ernesto Vergara Jr.


Instructor
Interpretation of Data

This experiment was conducted with the purpose of defining the Fourier
transform and formulating an analysis of time domain function to frequency domain
and vice versa with regards to the said method. A computer software named
MATLAB was used to show and manifest the said objectives. The first step of the
experiment is focused on finding the Fourier transform of the given functions by the
use of the Fourier command. This requires the following commands:

>>Syms t w

>>f- %function

>>fourier(f)

Wherein, t represents the variable used in the given function, while w denotes
the variable to be used by MATLAB as the function undergoes the Fourier transform.
The given functions are characterized to have a variation in forms, which includes
exponential, fractional, and trigonometric. Nevertheless, the commands that were
applied are the same with all the functions.

Moving on, the next part of the experiment is focused on finding the inverse
Fourier transform of the given functions by the use of the ifourier command. This
requires the following commands:

>>Syms i w

>>f= %function

>>ifourier(f)

Wherein, i represents the variable used in the given function, while w still
denotes the variable to be used by MATLAB as the function undergoes Fourier
transform. The given functions are characterized to have a variation in forms, which
includes exponential, fractional, and trigonometric. Nevertheless, the commands that
were applied are the same with all the functions.

Conclusion

As observed in the experiment, the Fourier Transform can be characterized to


take a time-based pattern, it measures every possible cycle, and returns the overall
“cycle recipe”(the amplitude, offset, & rotation speed for every cycle that was
found). It can be an instrument that is used to break waveform (a function or signal)
into an alternate representation, characterized by sine and cosines. The Fourier
Transform indicates that any waveform can be re-written as the sum of sinusoidal
functions. The Fourier transform of a function f(t) is defined by,

Furthermore, Fourier transform requires performing integration from negative


infinity to positive infinity of the product between the function and e -iwt . With this, it
is observed that the Fourier transform is a useful tool for it has many applications.
These applications includes signal processing, analysis of differential equations and
many more.

The equations that represents the Fourier transform and its inverse are observed
to be in contrast. The Fourier transform is a continuous function of frequency with
real and imaginary parts while the inverse Fourier Transform f(t) can be obtained by
substituting the known function into the second equation opposite and integrating.

In transforming a function from the time domain to frequency domain, it is


observed that MATLAB consists suitable Fourier commands that can be used in the
process. With this, it can be concluded that it will be very convenient to use MATLAB
in the purpose of finding the Fourier transform of a function, as it will be observed to
be efficient because in this case, resources like time will not be wasted. In addition,
this can also help minimize errors in the risk of solving manually.

References:

https://www.mathworks.com/help/matlab/math/fourier-transforms.html

https://en.wikipedia.org/wiki/Fourier_transform#Definition

http://www.thefouriertransform.com/transform/fourier.php

https://cnyack.homestead.com/files/afourtr/invfoutr.htm
Experiment 7 (PDS)
Answer: 2^(1/2)*pi^(1/2)*exp(-w^2/2)
Syntax:
>> syms t w
>> f = exp(-(t^2)/2)

f =

exp(-t^2/2)

>> ezplot(f)
>> fourier(f)

ans =

2^(1/2)*pi^(1/2)*exp(-w^2/2)

Answer: (5*3^(1/2)*pi^(1/2)*exp(- (w + 30i)^2/12 - 75))/3


Syntax:
>> syms t w
>> f = 5*exp(-3*(t - 5)^2)

f =

5*exp(-3*(t - 5)^2)

>> ezplot(f)
>> fourier(f)
Answer: 10/(w^2 + 25)
Syntax:
>> syms t w
>> f = exp(-5*abs(t))

f =

exp(-5*abs(t))

>> ezplot(f)
>> fourier(f)

Answer: -pi*exp(-3*abs(w))*sign(w)*1i
Syntax:
>> syms t w
>> f = t/(9+t^2)

f =

t/(t^2 + 9)

>> fourier (f)

Answer: (5*pi*exp(6 - w*(3 + 2i) - 9i)*(sign(w + 3i) +


1))/6 - (5*pi*exp(w*(3 - 2i) + 6 + 9i)*(sign(w + 3i) -
1))/6
Syntax:
>> syms t w
>> f = (5*exp(3*t))/((t^2)-(4*t)+(13))

f =

(5*exp(3*t))/(t^2 - 4*t + 13)

>> fourier(f)

Answer: -(w*pi^(1/2)*exp(-w^2/36)*1i)/18
Syntax:
>> syms t w
>> f = 3*t*exp(-9*t^2)
f =

3*t*exp(-9*t^2)

>> fourier(f)

Answer: -2^(1/2)*w*pi^(1/2)*exp(-w^2/2)*1i
Syntax:
>> syms t w
>> f = t*exp((-t^2)/2)

f =

t*exp(-t^2/2)

>> fourier(f)

Answer: (2^(1/2)*3^(1/2)*pi^(1/2)*(cos(w^2/12) -
sin(w^2/12)))/6
Syntax:
>> syms w a t
>> f = sin(3*t^2)

f =

sin(3*t^2)

>> fourier(f)

Answer: -(2^(1/2)*5^(1/2)*pi^(1/2)*(cos(w^2/20) +
sin(w^2/20)))/10
Syntax:
>> syms t w
>> f = cos(pi+5*t^2)
>> fourier(f)
Answer: fourier(exp(abs(w)), w, -t)/2
Syntax:
>> syms w t
>> F= pi*exp(abs(-w*1i))

F =

pi*exp(abs(w))

>> ifourier(F,t)

Answer: exp(-3*abs(t))
Syntax:
>> syms w t
>> F = 6/((w^2)+9)

F =

6/(w^2 + 9)

>> ifourier(F,t)

Answer: (pi*exp(-t)*(sign(t) + 1) - pi*exp(2*t)*(sign(t) -


1))/(2*pi)
Syntax:
>> syms w t
>> F = (3)/((2-w*1i)*(1+w*1i))

F =

-3/((1 + w*1i)*(- 2 + w*1i))

>> ifourier(F,t)
Answer: (7*fourier(exp((w - 4)^2/32), w, -t))/(2*pi)
Syntax:
>> syms w t
>> F = 7*exp(((-w+4)^2)/32)

F =

7*exp((w - 4)^2/32)

>> ifourier(F,t)

Answer:
/ sqrt(7) (pi #1 (sign(t) + 1) 1i - pi #2 (sign(t) + 1) 1i) 10i
- | -------------------------------------------------------------
\ 7

sqrt(7) (pi #1 dirac(t) 2i - pi #2 dirac(t) 2i + pi #1 (sign(t) + 1) (sqrt(7) - 4) 1i + pi #2 (sign(t) + 1)


(sqrt(7) + 4) 1i) 5i \
+ --------------------------------------------------------------------------------------------------------------------------------
|/(2
14 /

pi)
Syntax:
>> syms w t
>> F = (5*(4+w*1i))/(9+8*w*1i-w^2)

F =

(20 + w*5i)/(- w^2 + w*8i + 9)

>> ifourier(F,t)

Answer:
exp(-6) exp(6 + t (- 4 + 3i) + 8i) (sign(t - 2i) + 1) 1i
--------------------------------------------------------
2
Syntax:
>> syms w t
>> F = (exp(2*w-6)*1i)/(4-(3-w)*1i)
F =

(exp(2*w - 6)*1i)/(w*1i + 4 - 3i)

>> ifourier(F,t)

Answer: atan(t/5)/pi
Syntax:
>> syms w t
>> F = exp(-5*abs(w))/(w*1i)

F =

-(exp(-5*abs(w))*1i)/w

>> ifourier(F,t)

Answer: (exp(- 5*t - 10)*(sign(t + 2) + 1))/2


Syntax:
>> syms w t
>> F = exp(2*w*1i)/(5+w*1i)

F =

exp(w*2i)/(5 + w*1i)

>> ifourier(F,t)

Answer: (exp(20)*exp(- t*(3 - 5i) - 20 - 12i)*(sign(t +


4i) + 1)*1i)/2
Syntax:
>> syms w t
>> F = exp(20-4*w)*1i/(3-(5-w)*i)

F =
(exp(20 - 4*w)*1i)/(w*1i + 3 - 5i)

>> ifourier(F,t)

Das könnte Ihnen auch gefallen