blob: db5b80f2f4b321c85127466112a1e2662209b3ff (
plain)
1
2
3
4
5
6
7
8
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)
|