2. Determining the Sampling Frequency Consider the analog signal x(t) = u(t + 0.5) - u(t - 0.5). Mathematically derive the Fourier transform of x(t). Check your answer in MATLAB using the code. Make sure you understand these two lines of code by writing a paragraph explaining the code. syms t a = simplify(fourier((heaviside(t + 1/2) - heaviside(t - 1/2)))) Since x(t) is not bandlimited, the discussion in class explained how to find a suitable Ωmax for x(t) so that the sampling theorem can be applied. Summarize this class discussion using mathematical equations. Consider the supplied MATLAB code lab1q2.m. Add comments to the code that show your understanding and submit the commented code as part of your lab report. Run lab1q2.m and suggest a useful sampling frequency for x(t) such that about 99% of the total energy of the signal is captured.
Added by Shelley L.
Step 1
x(t) is given by: x(t) = u(t + 0.5) - u(t - 0.5) where u(t) is the unit step function (also known as the Heaviside function). The Fourier transform of x(t) can be found by taking the Fourier transform of each term separately and then subtracting the results. The Show more…
Show all steps
Close
Your feedback will help us improve your experience
Aman Gupta and 80 other Calculus 3 educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Sri K.
The discrete-time Fourier series (DTFS) is a frequency domain representation for periodic discrete-time sequences. For a signal x[n] with fundamental period N, the DTFS synthesis and analysis equations are given as: Synthesis equation: x[n] = ∑ Ck e^(jkw0n) Analysis equation: Ck = (1/N) ∑ x[n] e^(-jk(2̀́/N)n) In MATLAB environment, we can generate a rectangular signal using square function. The command A*square (2*pi*f*t,d) generates a square wave for the time vector t with frequency f and duty cycle d. You can read Matlab's Help Documentation about square function for more information. Using the parameters f = 2 and d = %50, generate a rectangular signal x(t) for a time vector of t = 0:0.1:1.
Recommended Textbooks
Calculus: Early Transcendentals
Thomas Calculus
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD