# transfermat.m

Transfer matrix calculation for linear amplifiers.

## Syntax

    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

  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