No BSD License  

Highlights from
Home Networking Basis

Home Networking Basis

by

 

11 Aug 2003 (Updated )

M-files for chapters 2-10 and Simulink models for Ethernet and Wireless Ethernet.

Chancap.m
coaxmod;
h2=(abs(h(1:1024))).^2;
nmdl;
n2=(abs(h(1:1024))).^2;
df=max(f)/1025;
f1=ceil(1025*42e6/1.5e8);
f2=ceil(1025*52e6/1.5e8);
for psd=0:50
chacap(psd+1)=sum(log(1+10^(psd/10).*h2(f1:f2)./n2(f1:f2)))*df/log(2);
end
px=[0:50]
figure(3)
plot(px,chacap);
grid
xlabel('Transmit Signal Level (dBmV)')
ylabel('Channel Capacity (Bits/Sec)')


Contact us