Question

For all the questions below, plot your figures within the window of n= (-5, 5). Remember, all your answers must be on a singl

?[?] = ?(?[?] − ?[? − 8])

?[?] = cos(2??)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

CODE:


clc close all n = -5:1:5; x = n.* (heaviside (n)-heaviside (n-8)); y = cos(2*pi*n); % c(n) n = -5:0.5:5; k = n+1; C = 6*.* (h

Result:

- 0 x Figure 1 File Edit View Insert Tools Desktop Window Help & USA @mo. 2 O E c(n) O 0000000000 . -5 -4 -3 -2 -1 0 1 2 3 4

Add a comment
Know the answer?
Add Answer to:
?[?] = ?(?[?] − ?[? − 8]) ?[?] = cos(2??) For all the questions below, plot...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please show the code necessary, and explanations on MATLAB. Plotting 11) Plot the function y =...

    Please show the code necessary, and explanations on MATLAB. Plotting 11) Plot the function y = sin(x) from x = 0 to 21. 12) Plot the functions y = x2 z = x2 + 2x + 1 from x = 0 to 2 on the same graph. Scripts: Input and Output 13) Write a script (M-file) to read in a message at the command line using the MATLAB input function and then display the message to the Command Window using...

  • For all the requested figures below, use a time resolution of 10ms for your time axis...

    For all the requested figures below, use a time resolution of 10ms for your time axis and plot in the range t-10,101. Matlab hint for time axis: t = 20.01:10. Remember your script should be self-sufficient and run without any errors to receive any points. Question 1. You have already computed the impulse response h(t) for the following system (1) in your previous homework assignment. Find and plot the output y(t) of the system (1), given the input signal x(t)...

  • Problem 2: A periodic signalxit) is shown below A =10, T-4 sec. -T Write a MATLAB script to plot ...

    Problem 2: A periodic signalxit) is shown below A =10, T-4 sec. -T Write a MATLAB script to plot the signal, using enough points to get a smooth curve. Compute the Fourier series coefficients for the signal (if you can find them in the text, that is ok). Plot the single-sided or double-sided spectra for each signal. Include enough frequencies in the plots to adequately represent the frequency content of the signals. Plot partial sums of the Fourier series for...

  • Using MATLAB!!! Please and thank you (5 points) Use Matlab to plot the magnitude and phase...

    Using MATLAB!!! Please and thank you (5 points) Use Matlab to plot the magnitude and phase of as a function of ω over the interval 0 If the input is ω 2π (5 points) What is the FS representation of y[n]? (5 points) Plot x[n] and y[n] over the range 0 to 24. If either has an imaginary component you must plot both real and imaginary parts .You must hand in a published .pdf of your script that shows the...

  • A periodic signal, x(t) is shown below. A = 10, T-4 sec. -T Write a MATLAB script to plot the sig...

    A periodic signal, x(t) is shown below. A = 10, T-4 sec. -T Write a MATLAB script to plot the signal, using enough points to get a smooth curve. Compute the Fourier series coefficients for the signal (if you can find them in the text, that is ok). Plot the single-sided or double-sided spectra for each signal. Include enough frequencies in the plots to adequately represent the frequency content of the signals. Plot partial sums of the Fourier series for...

  • In this exercise, you will create a function trough_plot which will plot the cross-section of a...

    In this exercise, you will create a function trough_plot which will plot the cross-section of a trough outlines by the functions y0 and y. Input variables: x – a vector representing the x co-ordinates for the outline of the trough. y – a vector representing the y co-ordinates for the bottom of the trough. y0 – a vector representing the y co-ordinates for the top of the trough. Output variable: n/a – this function has no output variables. Process: The...

  • 2. Causality A causal system is a system where the current output depends on past/current inputs ...

    2. Causality A causal system is a system where the current output depends on past/current inputs but not 3.5 future inputs 6 10 Exercise 2 0.5 The system y[n] - x[n] + x[n +1] is not causal. Use the input signal x[n]=U[n] to show this, as follows: 2 8 10 yIn] 2 . Define the time (sample) interval to be 1 between -6 and 9, and label it as n. Define the signal x[n]=U[n] as an array with the values...

  • two functions. The first plot on the left is y = 1 − e(−0.5sqrt(x) and the...

    two functions. The first plot on the left is y = 1 − e(−0.5sqrt(x) and the second plot on the right is y = e(−0.5sqrt(x) . Let x be from 0 to 10 with increment 0.1. The first plot is in blue color, solid line and the second is in red color, dotted line. Turn both grids on. Both figures should have own title and x-axis and “y-axis” labels. Note that you should plot both according to the above instruction....

  • solve all questions simply by using matlab. write all step here please 1Normal 1 No Spac Heading1 Heading 2 DISCUSSION Solve all tasks given below: 1. Consider function f(x) 3.5-0.5x cos(6x) for...

    solve all questions simply by using matlab. write all step here please 1Normal 1 No Spac Heading1 Heading 2 DISCUSSION Solve all tasks given below: 1. Consider function f(x) 3.5-0.5x cos(6x) for the value of x between -2.0 until 4.0. Draw the plot in dash line and in red colour, Label the title and all axes. 2. Consider the following functions for 0sxS pi: x() 10e0.St sin(3t +2) y(t) 7e-04t cos(5t - 3) (a) Draw both graphs on the same...

  • Can someone please help me with all these questions please? I desperately need it asap! Must be d...

    Can someone please help me with all these questions please? I desperately need it asap! Must be done with MATLAB. Thumbs up will be guaranteed! Thank you so much!! A. Discrete Fourier Transform and zero padding For the signals x1[n] and x2[n] answer the following questions: x2 [n] = cos(2m30/100) + 0.5 cos(2nn40/100) 1) Compute and plot the length-N DFT magnitude of signals x1[n] and x2[n] with respect to frequency fr, where f and N is the number of samples....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT