Usage Example of Matlab/Octave Code for Assisted Alignments

% Dayton Audio RSS390HF, QL=5
clear;
format long;
ql = 5
Rg = 0.0;
Re = 3.3
qes = 0.490;
qe = qes * (1 + Rg/Re);
qms = 3.1;
qt = qe * qms / (qe + qms)
fs = 18.0
vas = 0.2818;
vas_cuft = vas * 35.3146667
n = 8;
class = [1 4];
params = calc_vented_box_params_n(qt, ql, n, class);
fb = params.h * fs
vb_cuft = vas_cuft / params.alpha
dBripple = params.dBripple
f3 = params.f3_norm * fs
params
format;