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 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)".