fixed.qlessqrFixedpointTypes
Determine fixed-point types for transforming A to R in-place, where R is upper-triangular factor of QR decomposition of A, without computing Q
Since R2021b
Syntax
Description
computes fixed-point types for transforming A to R
in-place, where R is the upper-triangular factor of the QR decomposition
of A, without computing Q. T
= fixed.qlessqrFixedpointTypes(m
,max_abs_A
,precisionBits
)T
is
returned as a structure with field T.A
containing a fi
object that specifies the fixed-point type for A, which guarantees no
overflow will occur in the QR algorithm.
The QR algorithm transforms A in-place into upper-triangular R, where QR=A is the QR decomposition of A.
computes fixed-point types for transforming in-place to where λ is the
T
= fixed.qlessqrFixedpointTypes(m
,max_abs_A
,precisionBits
,regularizationParameter
)regularizationParameter
, QR is the economy size QR
decomposition of , A is an m-by-n
matrix, and In =
eye(n)
. regularizationParameter
is an optional parameter. If not supplied or empty, then the default value is used.
specifies the maximum word length of the fixed-point types.
T
= fixed.qlessqrFixedpointTypes(___,maxWordLength
)maxWordLength
is an optional parameter. If not supplied or empty,
then the default value is used.
Examples
Input Arguments
Output Arguments
Tips
Use fixed.qlessqrFixedpointTypes
to compute fixed-point types for the
inputs of these functions and blocks.
Algorithms
The number of integer bits required to prevent overflow is derived from the following
bound on the growth of R [1]. The required number of integer bits is added
to the number of bits of precision, precisionBits
, of the input, plus one
for the sign bit, plus one bit for intermediate CORDIC gain of approximately 1.6468
[2].
The elements of R are bounded in magnitude by
References
[2] Voler, Jack E. "The CORDIC Trigonometric Computing Technique." IRE Transactions on Electronic Computers EC-8 (1959): 330-334.
Version History
Introduced in R2021bSee Also
Functions
Blocks
- Complex Burst Q-less QR Decomposition | Complex Partial-Systolic Q-less QR Decomposition | Complex Partial-Systolic Q-less QR Decomposition with Forgetting Factor | Real Burst Q-less QR Decomposition | Real Partial-Systolic Q-less QR Decomposition | Real Partial-Systolic Q-less QR Decomposition with Forgetting Factor