Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
- 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];
- 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.
- 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started