Difference between revisions of "Transfermat.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:transfermat.m}} Transfer matrix calculation for linear amplifiers. ==Syntax== T=transfermat(amp_inps,amp_outs) ==Description== The number of input-outpu...")
 
Line 1: Line 1:
{{DISPLAYTITLE:transfermat.m}}
+
{{DISPLAYTITLE:transfermat.m}} __NOTOC__
 
Transfer matrix calculation for linear amplifiers.
 
Transfer matrix calculation for linear amplifiers.
  
Line 5: Line 5:
  
 
     T=transfermat(amp_inps,amp_outs)
 
     T=transfermat(amp_inps,amp_outs)
 
==Description==
 
The number of input-output vector pairs should be bigger than the number of elements in those vectors.
 
  
 
==Arguments==
 
==Arguments==
Line 19: Line 16:
 
   T        - the transfer matrix, such that amp_outs=T*amp_inps
 
   T        - the transfer matrix, such that amp_outs=T*amp_inps
 
               in the least squares sense
 
               in the least squares sense
 +
 +
==Notes==
 +
The number of input-output vector pairs should be bigger than the number of elements in those vectors.
  
 
==See also==
 
==See also==

Revision as of 09:13, 17 April 2025

Transfer matrix calculation for linear amplifiers.

Syntax

    T=transfermat(amp_inps,amp_outs)

Arguments

  amp_inps - a matrix with amplifier input vectors as columns

  amp_outs - a matrix with amplifier output vectors as columns

Outputs

  T        - the transfer matrix, such that amp_outs=T*amp_inps
             in the least squares sense

Notes

The number of input-output vector pairs should be bigger than the number of elements in those vectors.

See also

optimcon.m, grape.m


Version 2.1, authors: Ilya Kuprov