Laboratory Exercise
Laboratory Exercise
1. Generate a plot of y(x) = e–0.6x cos ωx where ω = 10 rad/s, and 0 ≤ x ≤ 15. Use the colon notation
to generate the x vector in increments of 0.05.
2. Plot r2 = 5 cos 3t 0 ≤ t ≤ 2π
The result should be similar to this, you can use the functions for plotting x and y data:
1. f(t) = – 3 cos 5t
2. f(t) = 3 sin(5t)
3. f(t) = 3t3
4. f(t) = tcos(3t)
5. f(t) = te-jt
2. For the product of q and r, calculate the value of the polynomial with s=3 using matlab. Write
the script. What is the result using manual calculations? Is the result different? If yes, why was
it different?
3. State the errors you encountered while performing the laboratory activity and write how you
corrected these errors.