ht2383_matlab_HW9_report
.pdf
keyboard_arrow_up
School
New York University *
*We aren’t endorsed by this school
Course
6113
Subject
Electrical Engineering
Date
Feb 20, 2024
Type
Pages
12
Uploaded by BarristerBoulderNarwhal28
I create a MATLAB file call problem.m I put my code in there. In the 'mtlab.wav'
, I heard a clean sound with short fast pronounced ‘matlab’.
In the 'mtlab_noisy.wav'
I heard a short pronounced ‘matlab’ with a shrill whistle.
[Y_clean, Fs_clean] = audioread(
'mtlab.wav'
); [Y_noisy, Fs_noisy] = audioread(
'mtlab_noisy.wav'
); soundsc(Y_clean, Fs_clean); soundsc(Y_noisy, Fs_noisy); As following impulse plot, we can clearly find that noise located at -1 to -0.8 and 0.8 to 1.
fx = fft(Y_clean,7418); fy = fft(Y_noisy,7418); n = [-1:1/3709:1]; n = n(1:end-1);
R = 512; window = hamming(R); N = 512; L = 25; overlap = R - L; fs = Fs_clean; figure subplot(2,1,1) plot(n,abs(fftshift(fx))) title(
'original signal'
) subplot(2,1,2) plot(n,abs(fftshift(fy))) title(
'signal with noise'
) From the spectrogram you can tell noisy one has noticeable noise around 3kHz and above.
Clean vs noisy:
figure; subplot(2, 1, 1); spectrogram(Y_clean, window, overlap, N, fs, 'yaxis'
); title(
'Clean Signal Spectrogram'
); subplot(2, 1, 2); spectrogram(Y_noisy, window, overlap, N, fs, 'yaxis'
); title(
'Noisy Signal Spectrogram'
); Option A:
W as constant:
I set w=10 and w=50 for weight function turned to emphasize noise removal and allow a transition bank, and the following are the impulse and spectrogram result.
W=10:
W=50:
Option B:
I set short as 10, long as 40:
h_short = firpm(10, [0 fp fs 0.5]*2, [1 1 0 0], W1); h_long = firpm(40, [0 fp fs 0.5]*2, [1 1 0 0], W1); the following are the impulse response and spectrogram of different length under the same weighting function:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
What is a multipath channel? Why is a multipath channel frequency selective?
arrow_forward
Decoder circuit as shown in the following Figure. if A is LSB and C is
MSB, the output expression F=
YO
Y
Y,
Y,
D.
Y.
Decoder
O a. B'
O b. C
O'c.B
O d. C
arrow_forward
What Is branch datapath?
arrow_forward
6)
This QUESTION FROM Information theory course.
just write for me the the correct answer.
arrow_forward
We want to design a digital circuit that converts
Gray code (ABC) to Binary code (xyz). Set up a 8-to-
1 line multiplexer so that the output gives y as a
function of ABC. "A" is given to the most significant
bit of the control inputs of the multiplexer. "C" is
given to the least significant bit of the control inputs
of the multiplexer.
arrow_forward
Please solve it fast
arrow_forward
what is Successive approximation ADC? please explain
arrow_forward
What are the shortcomings of one dimensional parity error detection scheme? And discuss the advantages of Two-dimensional parity over single parity scheme?
arrow_forward
To implement a Full Subtracter,
Using TWO 8:1 Multiplexers (ONE for Sum output and ONE for Cout output). Assign (or Connect) X, Y,and Bin variables to the Select Inputs of Multiplexers and connect 1 or 0 to each Data Input.
arrow_forward
• The input to the Encoder is (1),
_lines and the output is (2)
_lines.
• The input to the Decoder is (3).
input lines and (4)_
output lines.
The multiplexer has (5),
output and (6).
_inputs.
arrow_forward
VHDL
arrow_forward
See the figure below for Manchester scheme on CH-1 of Scope. Write the corresponding input
bit stream.
DE
arrow_forward
Proper detailed explanation in text else ready for downvote!!
arrow_forward
Explain the disadvantages of digital telecommunication.
arrow_forward
Implement a full-adder circuit with a decoder and two OR gates.
C--
- the f.
arrow_forward
Perform the following functions:a. What will be the parity of the data signal to send as even parity:10100111001b. (0101)BCD = (---?---)2 = (---?---)Excess-3 = (---?---)Grayc. How to represent following numbers in signed representation:1. (-78)102. (-19)10
arrow_forward
I need the answer as soon as possible
arrow_forward
What causes quantization noise?
arrow_forward
What is meant by CRT ?
arrow_forward
Suppose that the circuit shown in the below figure is to be modeled. What is the
correct VHDL option for the synthesis of this circuit?
global_resetb
zb-
global cik
a
arrow_forward
Implement 8-bit asynchronous ripple counter and showing truth table,
timing diagram. Also show how it can be used as frequency divider?
arrow_forward
Given that the base address is FoH.
1. Create a new asm project “Lab2_Q1.asm". Assume that port A of 8255A PPI is
connected to 8085. Write assembly code to send the value of FFH to FoH. Enter a delay
of 2 ms for each transmission.
arrow_forward
Choose the correct answer
low HDOP (Horizontal Dilution of Precision) number such as2 indicates a ...........................
a.poor fix
b.good fix
c.poor signal quality
d. good signal quality
arrow_forward
There exists one or more discrete ime signal. What is it control system ? (a) discrete time or (b) continuous time
arrow_forward
(i)
Below (figure 1) is an example of a VHDL code for a multiplexer.
--multiplexer.vhd
--Common Multiplexer
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY multiplexer IS
PORT(el, d3, d2, d1, d0 : IN STD_LOGIC;
a,b.c,d,e,f.g.h.ij.k,lm,n:OUT STD LOGIC);
END multiplexer;
ARCHITECTURE mult OF multiplexer IS
SIGNAL input : STD LOGIC_VECTOR (4 downto 0);
SIGNAL output : STD LOGIC_VECTOR (13 downto 0);
BEGIN
input ca el & d3 & d2 & d1 & d0;
WITH input SELECT
"00000010000001"WHEN "10000",--Input A
"00000010000001"WHEN "10001",-
"00000010000001"WHEN "10010",-
"00000010000001"WHEN "10011",-
"00000011001111"WHEN "10100"
"00000011001111"WHEN "10101
"00000011001111"WHEN "10110"
"00000011001111"WHEN "10111"
"10011110000001"WHEN "11000"
"10011110000001"WHEN "11001"
"10011110000001"WHEN "11010,
"10011110000001"WHEN "11011"
"10011111001111"WHEN "11100"
"100111110011i1"WHEN "11101",-
"10011111001111"WHEN "11110",--
"10011111001111"WHEN "11111":-.
"00000010000001" -00
--"00000011001111"-01…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Related Questions
- 6) This QUESTION FROM Information theory course. just write for me the the correct answer.arrow_forwardWe want to design a digital circuit that converts Gray code (ABC) to Binary code (xyz). Set up a 8-to- 1 line multiplexer so that the output gives y as a function of ABC. "A" is given to the most significant bit of the control inputs of the multiplexer. "C" is given to the least significant bit of the control inputs of the multiplexer.arrow_forwardPlease solve it fastarrow_forward
- what is Successive approximation ADC? please explainarrow_forwardWhat are the shortcomings of one dimensional parity error detection scheme? And discuss the advantages of Two-dimensional parity over single parity scheme?arrow_forwardTo implement a Full Subtracter, Using TWO 8:1 Multiplexers (ONE for Sum output and ONE for Cout output). Assign (or Connect) X, Y,and Bin variables to the Select Inputs of Multiplexers and connect 1 or 0 to each Data Input.arrow_forward
- • The input to the Encoder is (1), _lines and the output is (2) _lines. • The input to the Decoder is (3). input lines and (4)_ output lines. The multiplexer has (5), output and (6). _inputs.arrow_forwardVHDLarrow_forwardSee the figure below for Manchester scheme on CH-1 of Scope. Write the corresponding input bit stream. DEarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Electricity for Refrigeration, Heating, and Air C...Mechanical EngineeringISBN:9781337399128Author:Russell E. SmithPublisher:Cengage LearningDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage Learning
Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning