Question

(a) Use MATLAB to create a $1-\mathrm{s}$ sinusoidal signal using the sampling rate of $f_s=1000 \mathrm{~Hz}$ $$ x(t)=1.8 \cos (2 \pi \times 100 t)+1.0 \sin (2 \pi \times 150 t+\pi / 4), $$ where each sample $x(t)$ can be round off using 3-bit signed integer (directly round off the calculated $x(t))$ and evaluate the SQNR. (b) Use MATLAB to design an oversampling system including the anti-aliasing filter with a selectable integer factor $L$ using the same equation for the input $x(t)$. (c) Recover the signal using the quantized 3-bit signal and measure the SQNRs for the following integer factors: $L=2, L=4, L=8, L=16$, and $L=32$. From the results, explain which one offers better quality for the recovered signals.

   (a) Use MATLAB to create a $1-\mathrm{s}$ sinusoidal signal using the sampling rate of $f_s=1000 \mathrm{~Hz}$
$$
x(t)=1.8 \cos (2 \pi \times 100 t)+1.0 \sin (2 \pi \times 150 t+\pi / 4),
$$
where each sample $x(t)$ can be round off using 3-bit signed integer (directly round off the calculated $x(t))$ and evaluate the SQNR.
(b) Use MATLAB to design an oversampling system including the anti-aliasing filter with a selectable integer factor $L$ using the same equation for the input $x(t)$.
(c) Recover the signal using the quantized 3-bit signal and measure the SQNRs for the following integer factors: $L=2, L=4, L=8, L=16$, and $L=32$. From the results, explain which one offers better quality for the recovered signals.
Show more…
Digital Signal Processing: Fundamentals and Applications
Digital Signal Processing: Fundamentals and Applications
Lizhe Tan, Jean… 3rd Edition
Chapter 11, Problem 29 ↓

Instant Answer

verified

Step 1

We can do this using the following MATLAB code: ```matlab fs = 1000; % Sampling rate in Hz t = 0:1/fs:1-1/fs; % Time vector from 0 to 1 second x = 1.8*cos(2*pi*100*t) + 1.0*sin(2*pi*150*t + pi/4); % Signal equation x_quantized = round(x*(2^2-1))/(2^2-1); %  Show more…

Show all steps

lock
AceChat toggle button
Close icon
Ace pointing down

Please give Ace some feedback

Your feedback will help us improve your experience

Thumb up icon Thumb down icon
Thanks for your feedback!
Profile picture
(a) Use MATLAB to create a $1-\mathrm{s}$ sinusoidal signal using the sampling rate of $f_s=1000 \mathrm{~Hz}$ $$ x(t)=1.8 \cos (2 \pi \times 100 t)+1.0 \sin (2 \pi \times 150 t+\pi / 4), $$ where each sample $x(t)$ can be round off using 3-bit signed integer (directly round off the calculated $x(t))$ and evaluate the SQNR. (b) Use MATLAB to design an oversampling system including the anti-aliasing filter with a selectable integer factor $L$ using the same equation for the input $x(t)$. (c) Recover the signal using the quantized 3-bit signal and measure the SQNRs for the following integer factors: $L=2, L=4, L=8, L=16$, and $L=32$. From the results, explain which one offers better quality for the recovered signals.
Close icon
Play audio
Feedback
Powered by NumerAI
Need help? Use Ace
Ace is your personal tutor. It breaks down any question with clear steps so you can learn.
Start Using Ace
Ace is your personal tutor for learning
Step-by-step explanations
Instant summaries
Summarize YouTube videos
Understand textbook images or PDFs
Study tools like quizzes and flashcards
Listen to your notes as a podcast
Continue solving this problem
Create a free account to:
  • View full step-by-step solution
  • Ask follow-up questions with Ace AI
  • Save progress and study later
Continue Free
Join the community

18,000,000+

Students on Numerade


Trusted by students at 8,000+ universities

Numerade

Get step-by-step video solution
from top educators

Continue with Clever
or



By creating an account, you agree to the Terms of Service and Privacy Policy
Already have an account? Log In

A free answer
just for you

Watch the video solution with this free unlock.

Numerade

Log in to watch this video
...and 100,000,000 more!


EMAIL

PASSWORD

OR
Continue with Clever