SysidMatrix Transfer Matrix Measurements using a recursive least-squares algorithm Detailed discussion is in the CEBAF tech-note JLAB-TN-25-14. The Matlab file tmm_2D.m reconstructs 2x2 transfer matrices and tmm_4D does the same for 4x4 transfer matrices which can be arbitrarily coupled.