Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Solve the problem using matlab.You are given three 1 0 - second pieces of music ( fs = 4 8 0 0 0 Hz )

Solve the problem using matlab.You are given three 10-second pieces of music (fs =48000Hz). Perform the following assignment to rearrange the music according to the frequency distribution below.Apply appropriate filters to each of the three pieces of music to limit the bandwidth (bonus points will be given for applying the filter coefficient calculation method used during class, not just simple MATLAB functions...).Shift the frequencies to be arranged as shown in the diagram below and combine them into a single signal.Confirm visually whether the frequency bands are as follows.The length of the filter should be odd. Code load MUSIC_data.matsoundsc(sound(:,1),fs); % MUSIC 1%soundsc(sound(:,2),fs); % MUSIC 2%soundsc(sound(:,3),fs); % MUSIC 3NN =2^20; % DFT lengthff = fs*(0:NN/2)/NN;kk = linspace(0,2*pi,NN);Xk = fft(sound(:,1),NN)/NN;figure,subplot(211), plot(ff/1000,abs(Xk(1:NN/2+1))), gridxlim([0 fs/1000/2])xlabel('Frequency (kHz)')ylabel('Magnitude')subplot(212), plot(kk,abs(Xk)), gridxlim([0 pi])xlabel('Radian frequency (\omega)')ylabel('Magnitude')xticks(0:pi/4:pi)xticklabels({'0''\pi/4''\pi/2''3\pi/4''\pi'})
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions