home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / tech / eepub05 / pascal.doc < prev    next >
Text File  |  1987-03-21  |  5KB  |  97 lines

  1. rev.3/2/87,V1.01
  2.     MXFILTER.COM HAS BEEN REMOVED FROM THIS DISK AND PUT ON DISK 4. NOTE
  3. THAT MXFILTER.PAS IS & HAS ALWAYS BEEN ON DISK 4. 
  4. THIS WAS DONE TO MAKE ROOM ON THIS DISK FOR CORRECTED VERSIONS OF FFT AND
  5. LUDEC. The com files on this disk,(except CHEBFIL)require a math coprocessor.
  6.      Pascal programs on this disk may be compiled with Borland's 
  7. Turbo Pascal compiler. CHEBFIL also requires Borland's Turbo Graphix Toolbox
  8. to compile it. The .FON files, ERROR.MSG & PLOTGR.CHN must be resident for 
  9. CHEBFIL.COM to run. It requires a graphic terminal.
  10. A compiled version of FFT.PAS has been added to this revision. The files
  11. FDFT.IN and JEC have been added. The Ludec program has been revised. 
  12.       Tip for you non-pascal users, data must be seperated by one or
  13. more spaces when entered into pascal programs. G.H.
  14.  
  15. Mr. Jeff Crawford submitted the following programs and the following
  16. description of them:
  17.  
  18.         MXFILTER, see disk 4
  19.         BAIRSTOW
  20.         ROMBERG
  21.         SPIRLIND
  22.         CHEBFIL
  23.         LUDEC
  24.         FFT
  25.         CIRANL
  26.  
  27. All programs ( or subroutines) have documentation internal to the
  28. software: i.e. all references. Enclosed is a brief description of
  29. each.
  30.  
  31.     MXFILTER: This program allows one to estimate the maximum
  32. possible passband width while satisfying specific out of band
  33. requirements. At the present time it is set up for a maximum of 4
  34. out-of-band frequencies. The limitation lies in how much
  35. information may be displayed on the screen at one time. If this
  36. were changed, no other modification would be necessary.
  37.  
  38.     BAIRSTOW: A complex root finder based on the Barstow method.
  39. This method is adequate for general polynomials to possibly 15th.
  40. degree, depending largely upon the location of the respective
  41. roots. For polynomials exhibiting widely spaced roots, the
  42. accuracy is limited for the higher order polynomials.
  43.  
  44.     ROMBERG: An integration program allowing the user to place
  45. any integrand into the function "fnc" block and doing the 
  46. integration. This is far more than a general integration in that
  47. it encompasses Richardson's Extrapolation which GREATLY increases
  48. convergence time for a minimal number of steps taken. With
  49. Richardson's convergence, only 16 steps may be necessary compared
  50. to 128 or 256 without it, dependent upon the behavior of the
  51. function naturally.
  52.  
  53.     SPIRLIND: A program which uses Neumann's form to calculate
  54. the dc value of inductance of round spiral inductors. The
  55. negative mutual inductance is also calculated due to the
  56. proximity effects of the ground plane.
  57.  
  58.     CHEBFIL: A program which calculates the theoretical response
  59. of Chebyshev filters when given real-world Q values. The poles of
  60. the respective Chebyshev polynomial are calculated in each case
  61. and the group delay calculated. This information is calculated at
  62. each frequency of interest and used with the real-world Q to very
  63. accurately determine the in-band insertion loss and roll off near
  64. the ripple frequencies. If accurate values for the Q being used
  65. are used with this program, the results agree in-band very
  66. closely. Graphics is included and uses the graphics package from
  67. Boreland International.          
  68.  
  69.  
  70.     LUDEC: LU Decomposition for the solution of systems of
  71. linear equations. This form is optimal in that the entire
  72. calculation is performed "in place" and no additional memory is
  73. required. Errors are less than with the typical Gaussian
  74. reduction. Ex: order=3,  A(1,1)=2,A(1,2)=-1,A(1,3)=0,A(2,1)=-1,
  75. A(2,2)=2,A(2,3)=-1,A(3,1)=0,A(3,2)=-1,A(3,3)=2, B(1)=6,B(2)=0
  76. B(3)=-6. THEN X1=3,X2=0,X3=-3. WHERE A*X=B.
  77.  
  78.     FFT: Performs forward and inverse FFT's for any number of
  79. increments which is a factor of 2, 16, 32, 128 etc. The  "fft.in"
  80. file has a routine in it which fills the arrays used in the
  81. computation. The fft.in file on the disk fills the array with a
  82. damped sinusoid. The data created by this file is called "jec".
  83.  
  84.  
  85.     CIRANL: Performs frequency analysis of any circuit entered
  86. into the circuit definition file contained within. The routine is
  87. based upon the floating admittance matrix. One starts out with an
  88. n x n matrix and the routine "collapses" this matrix to a 2x2
  89. with the input and output ports (which are variable) as the user
  90. defines. All four admittance parameters are calculated and may   
  91. be used in any of the conventional two port representations for
  92. further analysis. At present only subroutines for R, L, and C are
  93. included but may be easily expanded to include active devices,
  94. transformers, transmission lines, and other useful elements.
  95.  
  96.  
  97.