summaryrefslogtreecommitdiff
path: root/830/CH10/EX10.8.2/Signal_Distortion_Ratio_Linear_Interpolation.sce
blob: 7ec3f6856fec67de50fc72af259c14c1e263d4bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Graphical//
//Example 10.8.2
//Signal to Distortion Ratio using Linear Interpolation
//Calculation of no. of subfilters
clear;
clc;
close;
SDR_dB = 50; //Signal to distortion ratio = 50 dB
Wx = 0.8*%pi; //Digital maximum frequency of input data
SDR = 10^(SDR_dB/10)
disp('The Number of subfilters required')
I = Wx*((SDR/80)^(1/4));
I = ceil(I)