tor, one will need to utilize 0.60.^n (i.e., .^ is used in place of ^) to define x1. Redo the work just completed, but for a vector x2 where x2 satisfies the mathematical relationship ?ଶ[?]=(0.85). Repeat the work just completed, but for a vector x3 where x3 satisfies the mathematical relationship ?ଷ[?]=(1.10). In one figure window, plot x1 as a fu
MATLAB:
Create a
using the start:step:stop syntax.
Next, generate a vector x1 so that x1 satisfies the mathematical relationship
?ଵ[?]=(0.60). Since n is a vector, one will need to utilize 0.60.^n (i.e., .^
is used in place of ^) to define x1.
Redo the work just completed, but for a vector x2 where x2 satisfies the
mathematical relationship ?ଶ[?]=(0.85).
Repeat the work just completed, but for a vector x3 where x3 satisfies the
mathematical relationship ?ଷ[?]=(1.10).
In one figure window, plot x1 as a function of n using the stem command. The
stem plot must show BLACK (versus the default blue) lines that have filled
circles and a line width of 2; refer to the lecture example script file. Further,
the horizontal axis label (xlabel) must be n, the title (title) must include
your name and the vertical axis label (ylabel) must show ?ଵ[?]=(0.60)
(note the subscript and superscript). In addition, turn on the grid (doc
grid), and show horizontal axis tick marks from −10 to +10 in steps of 1 by
utilizing
set(gca,'XTick',-10:1:10)
The axis command is not used in this case as range for the vertical axis will not
be specified.
In a new figure window, plot x2 as a function of n as was done for x1. Use all
options and settings as noted for x1 with the only change being the vertical
axis label which must be ?ଶ[?]=(0.85).
In a third new figure window, plot x3 as a function of n as was done for x1.
Use all options and settings as noted for x1 with the only change being the
vertical axis label which must be ?ଷ[?]=(1.10).
NOTE: When plotting with the stem command, your syntax will be
stem(n,xi), where i is either 1,2, 3 depending on the plot.
For this problem, four figures will be present; one for the script file and three for the
plots. Finally, address the following. Based on the three plots obtained, indicate what
the value for each signal ?[?] (? =1,2,3) is for
lim→ିஶ?[?] and lim→ஶ?[?]
Trending now
This is a popular solution!
Step by step
Solved in 2 steps