blob: b66107c9d5f25e727c250a9a2f6a8862771558eb (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc;
close();
clear();
//page no 277
//prob no. 8.2
W=5000; //Hz
fs=1.25*2*W;
mprintf('(a) The sampling rate is %i Hz.\n',fs);
T=1/fs; //second
mprintf('(b) Maximum interval between samples is %f seconds',T);
|