Home / Expert Answers / Advanced Math / question-2-with-matlab-plot-each-of-the-following-functions-a-use-maltab-to-generate-the-fol-pa560

(Solved): Question \#2: With MATLAB, plot each of the following functions. (a) Use MALTAB to generate the fol ...




Question \#2: With MATLAB, plot each of the following functions.
(a) Use MALTAB to generate the following discrete-time signa
Question \#2: With MATLAB, plot each of the following functions. (a) Use MALTAB to generate the following discrete-time signals: \[ \begin{array}{l} \text { vect } 2=\cos (\text { vect } 1) ; \\ \end{array} \] Plot vect2. Use the stem function. The horizontal axis should be in radians. Label the vertical axis "Amplitude" and label the horizontal axis "Angle (Radians)". (b) Use MALTAB to generate the following discrete-time signals: \[ \begin{array}{l} \text { theta }=0: p i / 20: 3 * p i ; \\ y=\cos (\text { theta); } \end{array} \] Plot y. Use the plot function. The horizontal axis should be in radians. Label the vertical axis "Amplitude" and label the horizontal axis "Angle (Radians)". (c) Plot \( \cos (5 \pi t) \) for values of \( t \) in the range \( -4 \leq t \leq 4 \). Choose vector for \( t \) that creates a smooth sinusoid in the plot. Use the plot function. Label the vertical axis "Amplitude" and label the horizontal axis "Time (Seconds)".


We have an Answer from Expert

View Expert Answer

Expert Answer


(a) To plot vect2 using the stem function, we can use the following code: vect1= [0 pi/4 2pi/4 3pi/4 4pi/4 5pi/4 6pi/4 7pi/4]; vect2= cos (vect1); ste
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe