Question: MATLAB question: b) Make a vector t representing time values corresponding to 1 second samples at 100 Hz Make another vector representing a sine wave
MATLAB question:

b) Make a vector t representing time values corresponding to 1 second samples at 100 Hz Make another vector representing a sine wave with a frequency of 2 Hz, samples at the times given in t. Expected output (1 x 100 arrays): t 0 0.01 0.02 ... | 0.97 0.98 0.99 sin (t) 0 0.1253 0.2487 ... -0.3681 -0.2487 -0.1253 2 Hz sine wave amplitude [a.u.] 0 0.1 0.2 0.3 0.4 0.6 0.7 0.8 0. 9 1 0.5 time [s]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
