Question

This is a MATLAB problem. Part 1. The sample sequence of y[n] = cos(0.25IIn) has a...

This is a MATLAB problem.

Part 1. The sample sequence of y[n] = cos(0.25IIn) has a period of___

a. 25     b. 8       c. 20.      d. not enough info

Part 2. The sample sequence y[n] = cos(0.1*pi*n) + 2 sin(0.1*pi*n) is periodic with a period of ___ samples.

a. 10    b. 40.    C. 20   d. 31

Part 3. Following the function shape Y[n] = (2^(-0.5n)) *sin(0.2*pi*n) is a___

a. exponentially increasing sine wave. B. sine wave. C. exponential wave. D. exponentially decreasing sine wave.

Homework Answers

Answer #1

Code:

n=1:1:64
y=cos(0.25*pi*n)
subplot(311)
stem(n,y)

y=(cos(0.1*pi*n))+(2*sin(0.1*pi*n))
subplot(312)
stem(n,y)

y = (2.^(-0.5*n)).*(sin(0.2*pi*n))
subplot(313)
stem(n,y)

Plot:

From the plots:

(i) y[n] = cos(0.25IIn) has the period of N=8. After every 8th sample the sequence repeats periodically.

Also N=2pi m/w0 where w0 =0.25pi

N=2pi/0.25pi=8 ===> N=8

(ii)y[n] = cos(0.1*pi*n) + 2 sin(0.1*pi*n) has the period of N=20. After every 20th sample the sequence repeats periodically.

Also N=2pi m/w0 where w0 =0.1pi

N=2pi/0.1pi=20===> N=20

(iii)y[n] = (2^(-0.5n)) *sin(0.2*pi*n) is a   exponentially decreasing sine wave.

Ans: D

Know the answer?
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
Similar Questions
for the sequence x[n]=(0.3)^(n+1)µ[n-1] find a)plot X[n] b)find its DTFT c) is the DTFT in part(...
for the sequence x[n]=(0.3)^(n+1)µ[n-1] find a)plot X[n] b)find its DTFT c) is the DTFT in part( b) real or complex? explain why? d) is the DTFT in part (b) periodic or a periodic? if periodic find fundamental period? f) what type of symmetry does the DTFT in the part(b) have? explain ?
5. The sinusoidal signal cos(ω0n + θ0) is periodic in n if the normalized frequency f0...
5. The sinusoidal signal cos(ω0n + θ0) is periodic in n if the normalized frequency f0 ω0 2π is a rational number, that is, f0 = MN , where M and N are integers. (a) Prove the above result. (b) Generate and plot (use the stem function) cos(0.1n−π/5), −20 ≤ n ≤ 20. Is this sequence periodic? Can you conclude periodicity from the plot? (c) Generate and plot (use the stem function) cos(0.1πn − π/5), −10 ≤ n ≤ 20....
Write and upload a MATLAB script to do the following. Compute the sequence S(n+1) = (2...
Write and upload a MATLAB script to do the following. Compute the sequence S(n+1) = (2 – K) S(n) – S(n-1) ;   Assume S(1) = 0, S(2) = 1; (a)    Case 1, Assume K = 1 (b)    Case 2, Assume K = 2 (c)     Case 3, Assume K = 4 Plot all of these on the same plot, for N = 1 to 20
(Part 1) Find all of the solutions of the given differential equations: a.) y' = -2y...
(Part 1) Find all of the solutions of the given differential equations: a.) y' = -2y (answer should be y = -(1 / ln2) * ln(t * ln(2) + c)) (Part 2) Find the solution of the IVP: b.) y' = -2y3, y(0) = 0 c.) y' = 1 + cos(y), y(0) = pi / 2 (answer should be y(t) = 2arctan(1 + t)) d.) y' = sqrt(1 - y2), y(0) = 0 (Hint: y' > 0) Please show work!
A standing wave on a string fixed at both ends is described by y(x,t)=2 sin((π/3)x)cos((π/3)t), where...
A standing wave on a string fixed at both ends is described by y(x,t)=2 sin((π/3)x)cos((π/3)t), where x and y are given in cm and time t is given in s. Answer the following questions a) Find the two simplest travelling waves which form the above standing wave b) Find the amplitude, wave number, frequency, period and speed of each wave(Include unit in the answer) c) When the length of the string is 12 cm, calculate the distance between the nodes...
1. Which one of the following bonds has the greatest interest rate risk? a. 10-y &...
1. Which one of the following bonds has the greatest interest rate risk? a. 10-y & 2% coupon b. 20-y & 3% coupon c. 20-y & 4% coupon d. 20-y & 2% coupon 2. There are two methods used to amortize a loan: fixed principal payment vs. fixed total payment. Under the fixed principal payment approach, what is the observation on the periodic interest payment? a. The interest payment is increasing over time. b. The interest payment is decreasing over...
I am using matlab and getting a "matrix dimensions error below" for line 22. Can someone...
I am using matlab and getting a "matrix dimensions error below" for line 22. Can someone spot the error and try the code to fix the error. %The beginning step is to generate a functionf(t) that consists of the sum %of the following components % 25 Hz cosine function of magnitude 1 % 50 Hz sine function of magnitude 1 % 40 Hz square wave function of magnitude 1 clear; clc; close all; %sample rate is given at 2500 Hz...
7. For the parametric curve x(t) = 2 − 5 cos(t), y(t) = 1 + 3...
7. For the parametric curve x(t) = 2 − 5 cos(t), y(t) = 1 + 3 sin(t), t ∈ [0, 2π) Part a: (2 points) Give an equation relating x and y that represents the curve. Part b: (4 points) Find the slope of the tangent line to the curve when t = π 6 . Part c: (4 points) State the points (x, y) where the tangent line is horizontal
Problem 3 you can use Matlab and also i give u the Problem 1 code its...
Problem 3 you can use Matlab and also i give u the Problem 1 code its on Matlab Using the same initial code fragment as in Problem 1, add code that calculates and plays y (n)=h(n)?x (n) where h(n) is the impulse response of an IIR bandpass filter with band edge frequencies 750 Hz and 850 Hz and based on a 4th order Butterworth prototype. Name your program p3.sce this is the Problem 1 code and the solutin clear; clc;...
Using Matlab to solve the problem below Given X=[-2 -1 0 1 2] Y=[1.5 3.2 4.5...
Using Matlab to solve the problem below Given X=[-2 -1 0 1 2] Y=[1.5 3.2 4.5 3.4 2] a). Plot a scatter plot of the data b). Determine the coefficients of the polynomial ?0 + ?1? + ?2?2 which best fits the data c). Plot this function on the same plot as in part ‘a’. USE MATLAB CODE ONLY! USE MATLAB CODE ONLY! THANK YOU
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT