The following is the Matlab code for the quick design of a Bravais lens system.
% Bravais Lens System M = 3.75; % Magnification d = 14; % Distance between lenses (mm) c = 225; % Total distance to image (mm) f1 = M*d*c/((M-1)*(c-d)) f2 = d*(c-d)/((1-M)*c) %% Reverse Direction M = 3.8; f1 = 20; f2 = -4.8; d = sqrt(f1*f2*(M-1)*(1-M)/M) % Distance between lenses (mm) c = d^2/((1-M)*(d/(1-M)-f2)) % Total distance to image (mm) %% Bravais Lens System Design 2 f2 = -4.8; d = 14; % Distance between lenses (mm) c = 225; % Total distance to image (mm) M = 1-d*(c-d)/(f2*c) % Magnification f1 = M*d*c/((M-1)*(c-d))