EEL 4102 University of South Florida Math Worksheet

User Generated

lnfzvvan

Programming

EEL 4102

University of South Florida

EEL

Description

Unformatted Attachment Preview

EEL4102 – Spring 2020 MATLAB Assignment 1 For all the questions below, plot your figures within the window of 𝑛 = [−5, 5]. Remember, all your answers must be on a single file and your script must be self-sufficient and run without any errors to receive any points. You should produce one figure for each question, two figures in total. Do not plot anything that you are not instructed to do so within this document. 𝑥[𝑛] = 𝑛(𝑢[𝑛] − 𝑢[𝑛 − 8]) 𝑦[𝑛] = cos(2𝜋𝑛) Question 1 (50 points). Plot the signals 𝑥[𝑛] and 𝑦[𝑛] defined above on a single figure using MATLAB. 𝑥[𝑛] should be traced in red and 𝑦[𝑛] should be traced in blue. Label all the axis, signals and the figure accordingly. Do not forget about the plotting window defined on top, 𝑛 = [−5, 5]. When you run your script, it should automatically display the required figure. See the following documentation for detailed explanation of how to plot discrete signals using MATLAB, as well as the MATLAB resources provided in the syllabus: https://www.mathworks.com/help/matlab/ref/stem.html https://www.mathworks.com/help/matlab/creating_plots/add-title-axis-labels-and-legend-to-graph.html Question 2 (50 points). Plot the signal 𝑧[𝑛] defined below. Label all the axis, signals and the figure accordingly. Do not forget about the plotting window defined on top, 𝑛 = [−5, 5]. When you run your script, it should automatically display the required figure. 𝑧[𝑛] = 3𝑥[𝑛] + 4𝑦[𝑛]
Purchase answer to see full attachment
Explanation & Answer:
Worksheet
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hey Yasmiina .. So I have attached the script m-file in the below RAR attachement. Also, I have attached the JPG photos of the plots required, and a DOC file which summarizes the whole a...


Anonymous
Great content here. Definitely a returning customer.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags