• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

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;
d2=2*j*W*l2*(1+k2)*(r+z0)+r*z0;
a=a1.*a2+b1.*c2;
b=a1.*b2+b1.*d2;
c=c1.*a2+d1.*c2;
d=c1.*b2+d1.*d2;
delt=j*W*l2*(1+k2)*(r+2*z0)+r*z0;
a=a./delt;
b=b./delt;
c=c./delt;
d=d./delt;


					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint