Documentation

qr

Orthogonal-triangular decomposition

Description

The Fixed-Point Designer™ qr function differs from the MATLAB® qr function as follows:

  • The input A in qr(A) must be a real, signed fi object.

  • The qr function ignores and discards any fimath attached to the input. The output is always associated with the default fimath.

  • Pivoting is not supported for fixed-point inputs. You cannot use the following syntaxes:

    • [~,~,E] = qr(...)

    • qr(A,'vector')

    • qr(A,B,'vector')

  • Economy size decomposition is not supported for fixed-point inputs. You cannot use the following syntax: [Q,R] = qr(A,0).

  • The least-squares-solution form is not supported for fixed-point inputs. You cannot use the following syntax: qr(A,B).

Refer to the MATLAB qr reference page for more information.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2014a

Was this topic helpful?