summaryrefslogtreecommitdiff
path: root/803/CH1/EX1.3/ex1_3.sce
blob: ff62b3596b4815ab6a22ca90464b0f93887101e5 (plain)
1
2
3
4
5
6
7
8
9
clc
fk=2.5; //Desired resolution between frequencies
fd=1.75*10^3;//maximum frequency
dmin=1/fk;//minimum record length
tmax=1/(2*fd);//maximum time between sampling
N=1/(tmax*fk);//minimum number of sampling points
disp("Seconds",dmin,"Minimum record length");
disp("Seconds",tmax,"Maximum time betweeen sampling points");
disp(N/2,"Minimum number of sampling points");