summaryrefslogtreecommitdiff
path: root/1409/CH5/EX5.4/5_4.sce
blob: 73d14f3b7e3ab234d017fc6b4fe44e60323a273e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc;
//page no 5-11
//Example 5.4
//Given amplitude of the wave as 5V and frequency as 1kHz
amp=5;
fs=50;//frequency sensitivity
fd=amp*fs;//frequency deviation
disp(+'Hz',fd,'Frequency Deviation=');
fm=1*10^3;//in Hz
mod=fd/fm;
disp(mod,'Modulation index=');