summaryrefslogtreecommitdiff
path: root/2183/CH8/EX8.3.c/Ex_8_3_c.sce
diff options
context:
space:
mode:
Diffstat (limited to '2183/CH8/EX8.3.c/Ex_8_3_c.sce')
-rwxr-xr-x2183/CH8/EX8.3.c/Ex_8_3_c.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2183/CH8/EX8.3.c/Ex_8_3_c.sce b/2183/CH8/EX8.3.c/Ex_8_3_c.sce
new file mode 100755
index 000000000..1d5c65582
--- /dev/null
+++ b/2183/CH8/EX8.3.c/Ex_8_3_c.sce
@@ -0,0 +1,15 @@
+// Example 8.3.c //duration of a frame and multiframe
+clc;
+clear;
+close;
+wd=8;//bit wide
+ts=32;//time slots
+nb=ts*wd;//no. of bits in a frame
+nf=8*10^3;//no. of frames
+tr=nf*nb;//transmission rate
+bdr1=1/tr;//bit duration
+bdr=bdr1*wd;//
+df=bdr*10^6*ts;//duration of frame
+dmf=df*(ts/2);//ms
+disp(df,"duration of frame in micro seconds")
+disp(dmf*10^-3,"duration of multiframe in milli seconds")