Guest User

Untitled

a guest
Dec 12th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. [f,p,ang,temp] = textread('kertoimet.txt');
  2.  
  3. c=4.95e-12;
  4. l=1.59e-9;
  5. zl = (p+1)./(1-p);
  6. z_c = 1./(1i*2*pi.*f*l);
  7. z_l = 1i*2*pi.*f*l;
  8.  
  9. z=(zl.^-1+z_c.^-1).^-1+z_l;
  10.  
  11. p_new = (z-1)./(z+1);
Add Comment
Please, Sign In to add comment