#please ask 1 question at a time
#i have done 6th and 7th since they were similar
#question 6
import matplotlib.pyplot as plt#dont include this line if already
imported
plt.subplot(1,2,1)
plt.plot(sampling_locations,signal)
plt.xlabel('Sampling Locations')
plt.ylabel('Signal')
plt.title('Simple line plot')
plt.subplot(1,2,2)
plt.stem(sampling_locations,signal,use_line_collection=True)
plt.xlabel('Sampling Locations')
plt.ylabel('Signal')
plt.title('Stem plot')
plt.tight_layout()
plt.show()
#question 7
import matplotlib.pyplot as plt#dont include this line if already
imported
n=len(signal)
mu = 0 # mean
sigma = 3 # standard deviation
noise = np.random.normal(mu, sigma, n)
newSignal = signal+noise
plt.subplot(1,2,1)
plt.plot(sampling_locations,newSignal)
plt.xlabel('Sampling Locations')
plt.ylabel('Signal with noise')
plt.title('Using Plot')
plt.subplot(1,2,2)
plt.stem(sampling_locations,newSignal,use_line_collection=True)
plt.xlabel('Sampling Locations')
plt.ylabel('Signal with noise')
plt.title('Using Stem')
plt.tight_layout()
plt.show()
Question 6: We will consider a piece-wise constant 1D signal in this part. Assume the signal...
Could you please help me with this assignment? The purpose of this assignment is to simulate the transmission and reception of a text message (i.e., character string) over a noisy communications channel. Suppose we wish to transmit the string “Hello.” We can translate this string into a bit stream as shown below: String: H e l l o . \0 (note: the last character \0 is the null terminator character) ASCII: 72 101 108 108 111 46 0 Binary: 01001000...
Hello, I'm taking signal systems course. please solve this question in matlab as soon as possbile please. Question 1 a) Write a function that calculates the Continuous Time Fourier Transform of a periodic signal x() Syntax: [w, X] = CTFT(t, x) The outputs to the function are: w = the frequencies in rad/s, and X = the continuous Fourier transform of the signal The inputs to the function are: x-one period of the signal x(t), andt the time vector The...
Lİde-7981 1 1-1 &content-id~-1837836-1 &stepenu QUESTION 17 4 poin It is desired to extract a constant signal sío- s from the noisy measured signal kin- stowostvo.where vin) is zero- mean white Gaussian noise of variance ov. For that purpose. the following IIR lowpass fiter is used where a and b are arbitrary constants (0 < a < 1). Estimate the value of the cut-off frequency wcif a -0.8. QUESTION 18 3 poi The filter coefficients of a second-order digital IR...
(MATLAB question) "ecg_signal.mat" converted to a .csv file yields the following data; This is only part of the whole .mat file. Please show how to analyze the whole signal from this snapshot. 1. In the lab we analyzed filtering 60 Hz power-line noise from ECG signal using a digital (signal processing) filter. Now let's try to an analog (circuit) filter approach to remove the 60 Hz line-noise. Following is an active twin-T notch filter with transfer function: 2R 2R Here...
Question 10 RD 1 (X-μ)/μ|. Show that (5.28) 9. See Problem 5.8. Compute the signal-to-noise ratio r for the random variables from the fol. lowing distributions: (a) P(A), (b) E(n, p), (c) G(p), (d) Γ(α, β), (e) W (α, β), (f) LNue). and (g) P(α,0), where α > 2. 10. Let X and F be the sample means from two independent samples of size n from a popu- lation with finite mean μ and variance σ. Use the Central Limit...
R2 IS THE QUESTION,THANKS! R2. Let X ~ N(μ = 10.82). Following upon we be approximating μwe can see should be 100. For now, let the sample size be n = 3, Pick 3 random numbers from X, compute X', and repeat the process a total of 50000 times. Plot a smooth version of the histogram of these 50000 values for X: the plot(density(...)) command in R will be useful. Now find the average of your 50000 values and make...
please assist with question 6 and 7 , thank you . In this question, we study the consequences of trade policies on the automobile market. We assume that cars are all similar on the market in other words, a car is a homogeneous good). The supply of Japanese cars is perfectly elastic at a price pj= 20. Moreover, the supply of cars made in the US is Qus = p - 15 for any price larger than 15. Finally, the...
ssessment,id=215 Converts a physical variable into an electrical signa O converts an analog signal into o digitol signal O Converts a digitol signol into an anolog signal QUESTION 4 The basic approach to testing D/A converters is to Ο App ya sequence of binary codes coveringthe full rangeofi put vakes to the creati put vhle ooserv ngt eat stonin o O Single-step the device through its full input range while checking the output with a DMM sepe The Check the...
In this question, we will think about how to answer shortest path problems where we have more than just a single source and destination. Answer each of the following in English (not code or pseudocode). Each subpart requires at most a few sentences to answer. Answers significantly longer than required will not receive full credit You are in charge of routing ambulances to emergency calls. You have k ambulances in your fleet that are parked at different locations, and you...
This question has 6 parts. Each of the 6 parts (Part A - Part F) has a dropdown list of possible answers. Choose the best answer from the dropdown list for EACH part of the question below. The same psychiatrists are now interested in determining if there is any difference in depression levels of participants before and after a group therapy program. Depression levels of a sample of participants both before and after the program are listed below: Patient #...