## electricalstudent Latest Questions

Anonymous

Asked: September 27, 2023In: Digital signal processing

Asked: September 27, 2023In: Digital signal processing

Have an account? Sign In Now

Don't have account, Sign Up Here

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to add post.

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Anonymous

Asked: September 27, 2023In: Digital signal processing

Asked: September 27, 2023In: Digital signal processing

On: November 1, 2023
Comments:
0

Below is a good starting point for your program:

`% Clear and initialize variables`

clear

close all

hold off

N=2^18; % Number of sample points

Fs=2^14; % sample frequency is 16,384 Hz is to be power of 2

% because we are using the FFT and not the DFT

Ts=1/Fs;

fc=1000; % carrier frequency is 1 kHz

fm=100; Ac=10; % message frequency is 100 Hz, amplitude is 10

mu2=1.0; % 100% modulation

mu1=0.5; % 50% modulation

t=(0:N-1)*Ts; % Time vector

a complete executable matlab code is pasted below

(more…)
On: October 31, 2023
Comments:
0

P2.4

Let x(n) = {2,4, -3, 1, -5, 4, 7}. Generate and plot the samples (use the stem function) of

the following sequences.

- x1(n) = 2x(n – 3) + 3x(n + 4) – x(n)
- x2 (n) = 4x(4 + n) + 5x(n + 5) + 2x(n)
- x3 (n) = x(n + 3)x(n – 2) + x(1 – n)x(n + 1)
- x4 (n) = 2e0.5𝑛x(n) + cos(0.1πn) x(n + 2) , -10 ≤ n ≤ 10

sigshift.m is required for this which is attached here

```
unction [y,n] = sigshift(x,m,n0)
% implements y(n) = x(n-n0)
% -------------------------
% [y,n] = sigshift(x,m,n0)
%
n = m+n0; y = x;
```