2.6. MATLAB Files
The following MATLAB files should allow readers to re-create some of the solutions in this chapter. These files can also be customized to solve variations problems that a reader might later encounter.
2.6.1. Parametric Model to RLGC
function [r,l,g,c]=RLGCExpQ22(f); r0c=406.65; ac=0.2643; l0=1.229; linf=0.927; fm=386e3; b=0.794; g0=0.0432; ge=0.8805; cinf=0.071; c0=0.121; ce=0.245; r=sqrt(sqrt(r0c^4+ac.*f.^2)); l=(l0+linf*(f./fm).^b)./(1+(f./fm).^b); g=g0.*f.^ge; c=cinf+c0.*f.^(-ce);
2.6.2. RLGC to ABCD Parameters
function [a,b,c,d]=abcd(f,r,l,g,d); jw=(j*2*pi).*f'; rf=interp1(r(:,1),r(:,2),f,'spline'); lf=interp1(l(:,1),l(:,2),f,'spline'); gf=interp1(g(:,1),g(:,2),f,'spline'); cf=0.083*ones(length(f),1); gamma=((rf+jw.*lf*1e-3).*(gf*1e-6+jw.*cf*1e-6)).^0.5; ...
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.