Analog Signal Processing & Filter Design
Instructions:
Please show how you arrived at the result.
Use 3 significant figures and scientific or engineering notation.
Use standard rounding, >0.5 in the next significant figure, round up & <0.5 round down.
Provide the numerical solution to problems (unless the problem asks for a formula or equation). e.g. don't write Ö79, write 8.89, don't write 127/9, write 14.1
For the problem below:
Please Use Matlab for plots. Label the Matlab plots, then capture and include them.
7. Plot the following function with Matlab for time = 0 to 1 second:
v=e-5(t-.2)cos(2*pi*5(t-.2))u(t-.2)
Since the function is difficult to understand because of lack of brackets for the exponential, I assume that the function is:
v = (e^(-5*(t-0.2))*(cos(2*pi*5*(t-0.2)))*u(t-0.2)
The Matlab Code is as follows:
%Declaring the time interval
t = 0:0.0001:1;
%Declaring u(t-0.2)
unitstep = t>=0.2;
%Declaring the fuction v(t)
v = (exp(-5*(t-0.2))).*(cos(2*pi*5*(t-0.2))).*unitstep;
%Plotting the function and labelling the axes
figure
plot(t,v)
xlabel('0 < t < 1')
ylabel('v(t)')
title('Graph of v as a function of t')
The MATLAB graph output is as follows:
Get Answers For Free
Most questions answered within 1 hours.