3.9. MATLAB Files

3.9.1. Coaxial Cable Insertion Loss and Impulse Response Models

function [ht,h]=abcd2hcx(a,b,c,d);
d=a;
r=75;
sz=length(a);
h=2*r*ones(sz,1)./(r*(r*c+d)+(r*a+b));
h(sz+1:2*(sz-1))=real(h(sz-1:-1:2))-sqrt(-1)*imag(h(sz-1:-1:2));
ht=real(ifft(h));

3.9.2. Splitter Input-to-Output Model

 function [a,b,c,d]=splitio(f,z0); l1=4e-5; l2=1e-7; k1=0.9997; k2=0.9997; a=0.707; r=220; C=4.5e-12; lf=length(f); W=2*pi*f'; a10=ones(lf,1)/a/k1; b10=j*W*l1*a*(1-k1^2)/k1; c10=ones(lf,1)./(j*W*l1*a*k1); d10=ones(lf,1)*a/k1; a3=ones(lf,1); b3=zeros(lf,1); c3=j*C*W; d3=a3; a1=a10.*a3+b10.*c3; b1=a10.*b3+b10.*d3; c1=c10.*a3+d10.*c3; d1=c10.*b3+d10.*d3; a2=j*W*l2*(2*(1+k2)*z0+r)+r*z0-(1-k2^2)*W.^2*l2^2; b2=j*W*l2*r*z0-(1-k2^2)*W.^2*l2^2*(r+z0); c2=2*j*W*l2*(1+k2)+r; ...

Get Home Network Basis: Transmission Environments and Wired/Wireless Protocols now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.