Solution:
MATLAB CODE:
clc
% Defining Parameters for first signal
N1 = 1024; % Number of
Samples
Fs1 = 700; %
Frequency of Signal = 700 Hz
T1 = 1/Fs1; % Time
Period of Signal
J1 =
2;
% Number of Cycles = 2
C1 =
J1*T1;
% Stop time of 2 Cycles
t1 = 0:(1/N1)*C1:C1; % Time Range for 2
cycles
x1 = 3*cos(2*pi*Fs1*t1); % First Sinusoidal signal
% Plotting First Sinusoidal Signal
subplot(3,1,1)
plot(t1,x1);
% Plot x1 vs t1
title('First Sinusoidal Signal');
xlabel('Time')
ylabel('Magnitude')
% Defining Parameters for Second Signal
N2 = 1024; % Number of
Samples
Fs2 = 5000; %
Frequency of Signal = 5000 Hz
T2 = 1/Fs2; % Time
Period of Signal
J2 =
2;
% Number of Cycles = 2
C2 =
J2*T2;
% Stop time of 2 Cycles
t2 = 0:(1/N2)*C2:C2; % Time Range for 2
cycles
x2 = 2*cos(2*pi*Fs2*t2); % Second Sinusoidal signal
% Plotting Second Sinusoidal Signal
subplot(3,1,2)
plot(t2,x2);
% Plot x2 vs t2
title('Second Sinusoidal Signal');
xlabel('Time')
ylabel('Magnitude')
% Plotting dual Sinusoidal Signal
y = x1+x2;
subplot(3,1,3)
plot(t1,y);
% Plot y vs t1
title('Dual Sinusoidal Signal');
xlabel('Time')
ylabel('Magnitude')
Image Copy:
Output Waveform:
need matlab code Exercise: Use MATLAB to generate a low frequency signal: xy(t) = 3 cos(1400)...
Need MatLab code Exercise: Use MATLAB to generate the sinusoidal waveform: x(t) = 3 cos(1200) Consider the frequency of this sinusoid and use this information to select an appropriate time-step and time array that will allow this signal to be correctly represented and displayed on a new MATLAB figure window (display 4 periods of this wave only). Now set up an appropriate frequency array and use the fft() and fftshift() functions to generate and plot the Fourier Transform (magnitude spectra)...
I need Matlab code Message Carler cos (20.000rt) modulation index: 0,2 signal: 2 cos (2001tt) signal : - Modulate and demodulate these 2 signals and plot time domain and frequency spectrum for all steps Write whole code clearly. Use Matlab.
(A.) Use MATLAB to generate a pulsed sine wave signal having a frequency F-10KHZ and a pulse width of T-.5ms. The pulse repetition time is 1ms (pulse repetition rate is 1000 pulses/sec), i.e., the signal is zero between pulses. Model the signal to start at time t-0 and to end at a time t=Tstop. Use a sample time of .001ms to approximate an analog environment. Display the signal in MATLAB appropriate for an analog signal, first for Tstop 1ms and...
Write a Matlab code to generate the signal y(t)=10*(cos(2*pi*f1*t)+ cos(2*pi*f2*t)+ cos(2*pi*f3*t)), where f1=500 Hz, f2=750 Hz and f3=1000 Hz. Plot the signal in time domain. Sketch the Fourier transform of the signal with appropriately generating frequency axis. Apply an appropriate filter to y(t) so that signal part with frequency f1 can be extracted. Sketch the Fourier transform of the extracted signal. Apply an appropriate filter to y(t) so that signal part with frequency f2 can be extracted. Sketch the Fourier...
Question 3 (30 points) Consider the signals defined below: *:(t) = cos(2) xz(t) = cos(4+) a) Determine the fundamental period for each signal. b) Determine the fundamental period and fundamental frequency of the signal: y(t) = x;(C)x(0) (t) and x2(c) when the fundamental frequency is c) Determine the Fourier Series coefficients of defined as determined in part (b). d) Using Parseval's relation, determine the power of xy(t) and xy(t) e) Determine and plot the Fourier Series Coefficients of y(t). Show...
Help solve in MATLAB 1. Let m(t) be the 2-bit modulating signal and s(t) cos(at) be carrier signal as shown in Figure 3. Plot these two signals in 2 separated figures using MATLAB with a, = 600Or rad/s and t = 0:7, :0.01 sec where fs = 10MHz be the sampling rate to satisfy Nyquist theorem. Use the zoom in tool of MATLAB to clearly look at the signal if necessary. You can use the MATLAB function below to produce...
Its related to MATLAB Generate a continuous-time signal z(t)-cos(2π 10t + 5) + cos(2π30t + 5). You may use the part of the followings. a >>t0:0.001:1; >plot (t, x_t) b. Generate a discrete-time signal x[n] = (1/4)(u[n]-u[n-4). You may use the part of the followings >>a_n-ones (1, 4) s> b_nzeros (1, 7) >> stem(n, x n) Generate a continuous-time signal z(t)-cos(2π 10t + 5) + cos(2π30t + 5). You may use the part of the followings. a >>t0:0.001:1; >plot (t,...
[15 points] You are asked to design a DSB-SC AM modulator to generate a modulated signal km(t)cos(wt+0), where m(t) is a signal band-limited to B Hz. The following figure shows a DSB- SC AM modulator available in the stockroom. The carrier generator available generates not cos(wct), but cos (wct). Explain whether you would be able to generate the desired signal using only this equipment. You may use any kind of filter you like. 3. What kind of filter is required...
consider the signal using matlab Problem 2: Consider a signal: x[n] 3cos(n7/3) + 2sin(nt/4)+ cos(n7/5) Using Matlab, (1) Plot this signal in time domain. Can you identify the various frequencies in this signal? Use n 0:1:1000 (2) Plot this signal in frequency domain using the "fft" command. Identify the individual frequencies in the plot. (3) Calculate the frequencies of these signals. In the frequency plot, 1000 2
Now use MATLAB to generate and plot 15seconds of this signal in the time-domain.Use the fft() function to find the fourier transform of this signal and plot its magnitude spectrum School of Engineering Task 3 - The Fourier Transform: Scaling property Exercise: Let's take a look now at using the Fourier transform on aperiodic signals. Consider the real exponential signal from the discharging capacitor in tas 3 of laboratory 1 which was found to be: You(t)=e"u(t) Begin by calculating manually...