Consider a pulse signal 𝑥(𝑡) = 𝐴cos(Ω0𝑡)(𝑢(𝑡) &...

  1. Home
  2. Homework Library
  3. Engineering
  4. MATLAB for Engineering
  5. Consider a pulse signal 𝑥(𝑡) = 𝐴cos(Ω0𝑡)(𝑢(𝑡) &...


Consider a pulse signal 𝑥(𝑡) = 𝐴cos(Ω0𝑡)(𝑢(𝑡) − 𝑢(𝑡 − 𝜏)).
Generate this signal (its discrete version) using MATLAB for arbitrary constants A (magnitude), Ω0(frequency), and 𝜏 (duration). To illustrate correct functionality of your code, plot the signal 𝑥(𝑡) for a few values of 𝐴, Ω0, and 𝜏.
Evaluate the Fourier transform of 𝑥(𝑡) in MATLAB. Hint: since the signal you generated is actually discrete, you may use, for instance, the 𝑓𝑓t function. Plot magnitude and phase of FT for the same values of 𝐴, Ω0, and 𝜏 that you used before.
What conclusions can you make based on the results you observed? Write a short report with the MATLAB codes you developed and the results you observed. Explain the procedure, discuss the results and conclusions.

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

%% Clearing screen,workspace and closing all figures
close all;
%% Defining different parameter values
A1 = 5;
A2 = 10;
A3 = 20;
Omega1 = 2*pi*2;
Omega2 = 2*pi*4;
Omega3 = 2*pi*8;
Tau1 = 2;
Tau2 = 4;
Tau3 = 8;
%Time step
dt = 0.01;
%Sampling frequency
fs = 1/dt;
%Time vectors
t1 = 0:dt:Tau1;
t2 = 0:dt:Tau2;
t3 = 0:dt:Tau3;...

By purchasing this solution you'll be able to access the following files:

50% discount

$45.00 $22.50
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available MATLAB for Engineering Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Upload a file
Continue without uploading

We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats