summaryrefslogtreecommitdiff
path: root/2414/CH2/EX2.6/Ex2_6.sce
blob: bd07058f2e67260f4ea2a03114a5018b7b6e7607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc;

//page no 48
//problem 2.6
//All frequencies in Hz
//There is no dc component
T=4*10^-3;
f1=1/T;
disp(f1,'The fundmental frequency is');
//The function have only odd numbered components
disp(9*f1,7*f1,5*f1,3*f1,f1,'The five lowest frequencies are ');
disp('(b)  The rolloff rate is -6dB/octave');