Question: using matlab Part B: Array for Functions of Time Explain what application the statement below might have. Is t an array? What is the function

using matlab

Part B: Array for Functions of Time

  1. Explain what application the statement below might have. Is t an array? What is the function of the single apostrophe?

t = 0.001*[1:1000];

  1. Define an array v1 = 2*cos(2*pi*t + pi/2), where array contains a sample every 1 millisecond over a time interval from 0 to 1 sec.
  2. Define a second array v2 = 3*cos(2*pi*t + pi/4) and third array v3 = v1 + v2. Plot v1, v2 and v Use xlabel, ylabel, legend and title when creating your plot. What can you say about the frequency of the three traces? What do the terms pi/2 and pi/4 do?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!