1. Engineering
  2. Electrical Engineering
  3. use matlab...

Question: use matlab...

Question details
Use Matlab
Problem 3: Fourier Transform of a square wave Create a time t vector of N-1024 samples, starting at 0s at a sampling frequency of 1000Hz Create a signal s composed of one square wave at a frequency of f -70Hz (matlab function square, s # square (2*pi*t), and represent the function in the time domain from 0 to 04s. Compute the fft of this signal s. Create a vector f representing the frequencies spanned by the results of this fft. Represent the spectrum (module of the Fourier transform) of s as a function of the frequeney f from OHz to Nyquist-Shannon Frequency. How can you interpret your result, starting by providing what is the Fourier transform of the rect function.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution