diff options
Diffstat (limited to '165/CH12/EX12.1/ex12_1.sce')
-rw-r--r-- | 165/CH12/EX12.1/ex12_1.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/165/CH12/EX12.1/ex12_1.sce b/165/CH12/EX12.1/ex12_1.sce new file mode 100644 index 000000000..db5b80f2f --- /dev/null +++ b/165/CH12/EX12.1/ex12_1.sce @@ -0,0 +1,9 @@ +//Example 12.1
+clc;
+
+chart_speed=40; //Given Chart speed in mm/s
+time_base=5; //one cycle of signal recorded in mm
+
+period=time_base/chart_speed;
+f=invr(period);
+printf('\nFrequency of signal is %.2f cycles/s\n',f)
\ No newline at end of file |