See [The generalized Schur (QZ)) Now in
infl = R*betta*my_lambda; the R is not defined.
infl = R*betta*my_lambda;