1 2 3 4 5 6 7
//Ex:4.3 clc; clear; close; T=40*10^-3;//in Hz f=1/T; printf("Frequency of 40 ms waveform = %f Hz",f);