summaryrefslogtreecommitdiff
path: root/876/CH7/EX7.21/Ex7_21t.txt
blob: 71dbe9eca5b1e7c4c3091235ddaf606e046f94c9 (plain)
1
2
3
4
5
6
7
8
9
10
//caption:find frequency of the system
//Ex7.21
clc
clear
close
n=45//reading of digital frequency counter
T=10*10^-3//gate time period(in second)
F=1/T
f=n*F
disp(f,'frequency of the system(in Hz)=')