summaryrefslogtreecommitdiff
path: root/2282/CH6/EX6.6/ex6_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2282/CH6/EX6.6/ex6_6.sce')
-rwxr-xr-x2282/CH6/EX6.6/ex6_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2282/CH6/EX6.6/ex6_6.sce b/2282/CH6/EX6.6/ex6_6.sce
new file mode 100755
index 000000000..0318d8efc
--- /dev/null
+++ b/2282/CH6/EX6.6/ex6_6.sce
@@ -0,0 +1,10 @@
+// Example 6.6, page no-238
+clear
+clc
+
+cr=25 //Chip rate is 25 Mbps
+c=20/100 // DS-CDMA signals should not exceed 20% of the chip duration
+d=1000/cr //chip duration in ns
+tr=c*d
+x=tr/(280*10^-3)
+printf("The maximum allowable timing error per satellite round trip is %.0f ns\n This %.0f ns error is to occur in 280 ms.\n Therefore, maximum permissible Dopler effect variation is %.2f ns/s",tr,tr,x)