Question: Write a MATLAB Program to create two 1-D arrays with size 10 for the values of t and x(t) = 4 cos(2n t +0.2)
Write a MATLAB Program to create two 1-D arrays with size 10 for the values of t and x(t) = 4 cos(2n t +0.2) + 3 sin(x2t). The variable t should be selected with equal spacing in the interval Ost1. Hint: You can use linspace () to generate equally spaced values. You can use pi Sample Output: x(t) t 0.00 0.11 3.92 5.16 0.22 2.34 0.33 -3.09 0.44 -6.80 0.56 -5.56 0.67 -0.40 0.78 4.42 0.89 5.33 1.00 2.63
Step by Step Solution
3.44 Rating (163 Votes )
There are 3 Steps involved in it
Matlab program to compute and display the values of th... View full answer
Get step-by-step solutions from verified subject matter experts
