blob: 99022d16bc183bae8b9fe74acbbae6f0446a5d2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Caption:Determine (a)upper cutoff frequency (b)lower cutoff frequency
//Ex:1.8
clc;
clear;
close;
f=1//frequency of square wave(in khz)
tr=200//rise time of output(in ns)
t=0.03//fractional tilt
fh=0.35*10^3/tr
disp(fh,'(a)upper cutoff frequency(in mhz)=')
fl=f*t*1000/%pi
disp(fl,'(b)Lower cutoff frequency(in hz)=')
|