Question: The Matlab code below is given. Answer the questions related to the code. inc = 1/150; n = -100:inc:900-inc; sig = 8*cos(80*pi*n*inc)+(2/(1+j))*sin(200*pi*n*inc); plot(n*inc,real(sig)); sound(real(sig),4000) a.
The Matlab code below is given. Answer the questions related to the code.
inc = 1/150;
n = -100:inc:900-inc;
sig = 8*cos(80*pi*n*inc)+(2/(1+j))*sin(200*pi*n*inc);
plot(n*inc,real(sig));
sound(real(sig),4000)
a. Length (n)?
b. Range of time for which the real(sig) is plotted.
c. Is 'sig' periodic? If so what is the period. Note if there is aliasing.
d. max(real(sig))?
e. Express the equation for the analog signal that is played out with sound function.
f. For what time duration is sound played out?

The Matlab code below is given. Answer the questions related to the code. inc = 1/150; n=-100:inc:900-inc; sig=8*cos(80*pi*n*inc)+(2/(1+i))*sin(200*pi*n* inc); plot(n*inc.real(sig)); sound(real(sig),4000) a. Length (n)? b. Range of time for which the real(sig) is plotted. c. Is sig' periodic? If so what is the period. Note if there is aliasing. d. max(real(sig)..? e. Express the equation for the analog signal that is played out with sound function. f. For what time duration is sound played out? The Matlab code below is given. Answer the questions related to the code. inc = 1/150; n=-100:inc:900-inc; sig=8*cos(80*pi*n*inc)+(2/(1+i))*sin(200*pi*n* inc); plot(n*inc.real(sig)); sound(real(sig),4000) a. Length (n)? b. Range of time for which the real(sig) is plotted. c. Is sig' periodic? If so what is the period. Note if there is aliasing. d. max(real(sig)..? e. Express the equation for the analog signal that is played out with sound function. f. For what time duration is sound played out
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
