blob: 99e941d40eb323b9551fe619f18194d6e619f3d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Exa 4.1
// To calculate the sampling rate.
clc;
clear all;
Fm=20; // in KHz
//solution
disp(" An Engineering version of the Nyquist sampling rate : fs>=2.2*fm.");
printf('Therefore sampling rate of >= %d ksps should be used ',(2.2*Fm));
disp("The sampling rate for a compact disc digital audio player = 44.1 ksps and for a studio quality audio player = 48 ksps are used.")
|