Please choose an appropriate title for the question so it can be answered easily.

Please choose the appropriate section so the question can be searched easily.

Please choose suitable Keywords Ex: question, poll.

Type the description thoroughly and in details.

Choose from here the video type.

Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

Sorry, you do not have permission to add post.

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

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

## generate AM signal in time domain and frequency spectrum using MATLAB

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…)

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

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.

1. x1(n) = 2x(n – 3) + 3x(n + 4) – x(n)
2. x2 (n) = 4x(4 + n) + 5x(n + 5) + 2x(n)
3. x3 (n) = x(n + 3)x(n – 2) + x(1 – n)x(n + 1)
4. 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;``````
(more…)