diff options
Diffstat (limited to '165/CH7/EX7.2/ex7_2.sce')
-rw-r--r-- | 165/CH7/EX7.2/ex7_2.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/165/CH7/EX7.2/ex7_2.sce b/165/CH7/EX7.2/ex7_2.sce new file mode 100644 index 000000000..bc99be525 --- /dev/null +++ b/165/CH7/EX7.2/ex7_2.sce @@ -0,0 +1,8 @@ +//Example 7.2
+clc;
+//Frequency of the signal
+n=4; //No of division/cycle
+time_div=2*10^-6; //Time divsion Control
+TP=time_div*n; //Period of the signal
+f=1/TP; //Frequency of the signal
+printf('\nFrequency of the signal is %d',f)
\ No newline at end of file |