Question: C . Use MATLAB or Octave to generate two sinusoidal functions of time. You can use the below template; change the frequencies so that one
C Use MATLAB or Octave to generate two sinusoidal functions of time. You can use the below template; change the frequencies so that one is a decimal using the last two digits of your student ID and the other a decimal that v uses the first two digits. Include your script code and a screenshot of the resulting plot showing at least two periods of both original funcuoris.
# set up the times
time ::;
# get the two sinusoids
vsinpitime;
vsinpitime;
# plot the two sine functions and their difference
f figure;
plottimevb
hold on grid on
plottime vr
plottimevvg'LineWidth',
xlabelTime s ylabelVoltage V
legendvvvv
titleyournamehere: Voltage v time, input and output: difference
amplifier'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
