Extremely helpful and educational toolbox.
Not sure if the author reads this, but here is a tiny improvement for clans.m:
For better convergence, transform the errors in minimization functions (dsclansObj6a,dsclansObj6b) into quadratic errors.
1. Open clans6.m
2. in sub-function dsclansObj6a, after "f = abs(evalTF(H,exp(1i*pi/OSR)));" type "f=f*f".
3. in sub-function dsclansObj6a, after "g = sum(abs(impulse(H,100))) -1 - Q;" type "g=g*g".
This way the target value for Q will be reached quite accurately at low OSR.