# bdqz

## Description

`[`

transforms the pair (`AA`

,`BB`

,`TL`

,`TR`

,`blks`

] = bdqz(`A`

,`B`

,`condmax`

)`A`

,`B`

) to block-diagonal
form.

The output matrices `AA`

, `BB`

, `TL`

,
and `TR`

are such that $$AA={T}_{L}^{T}A{T}_{R}$$ and $$BB={T}_{L}^{T}B{T}_{R}$$. `AA`

and `BB`

are block diagonal
and each diagonal pair
(`AA`

,_{j}`BB`

)
is in QZ form:_{j}

`AA`

is quasi upper-triangular (real case) or upper-triangular (complex case)._{j}`BB`

is upper-triangular with real diagonal._{j}

`blks`

is a vector containing block sizes down the diagonal. Use
`condmax`

to specify an upper bound on the condition number of
`TL`

and `TR`

. If you omit
`condmax`

, `bdqz`

uses `1e4`

as the
upper bound.

## Examples

## Input Arguments

## Output Arguments

## Version History

**Introduced in R2023b**