transfermat.m

From Spinach Documentation Wiki
Revision as of 09:13, 17 April 2025 by Kuprov (talk | contribs)
Jump to: navigation, search

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