Discrete time Fourier transform of sequence and Matlab plot
Not what you're looking for?
Please see the attached file for full description.
Calculate by hand the X(omega), DTFT of the sequence x[n]=[1 1 1 1 0 0 0 0] for n=0:7, zero else.
Using Matlab, plot the real and imaginary components of your result for X(omega) for omega=0:0.01:2*pi,
one plot for the real, one part for the imaginary.
On the same plots, use the Matlab fft and stem commands to plot the samples of X(omega) calculated by the DFT/FFT. Your code will look something like this.
n=0:0.01:2*pi;
plot(n,real(SOME_EQUATION_FOR_X(omega)));
hold on;
x=[1 1 1 1 0 0 0 0];
m=(0:7)*2*pi/8; % 8's the length of the sequence x[n]
stem(m,real(fft(x)));
and again in a different figure for the imaginary part.
The stems should fall right on the curve you plot. If not, check your result in question 2.
Purchase this Solution
Solution Summary
The solution shows step-by-step calculation of discrete time Fourier transform of a sequence. It also includes the Matlab codes and plots implementation.
Solution Preview
Please see the attached file for detailed solution and Matlab plots.
Calculate by hand the X(Ω), DTFT of the sequence x[n]=[1 1 1 1 0 0 0 0] for n=0:7, zero else.
Using Matlab, plot the real and imaginary components of your result for X(Ω) for
Ω=0:0.01:2*pi, one plot for the real, one part for the imaginary. On the same plots, use the
Matlab fft and stem commands to plot the samples of X(Ω) calculated by ...
Purchase this Solution
Free BrainMass Quizzes
Multiplying Complex Numbers
This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.
Exponential Expressions
In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.
Know Your Linear Equations
Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.
Geometry - Real Life Application Problems
Understanding of how geometry applies to in real-world contexts
Graphs and Functions
This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.