Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes

Change language to:
English - Français - Português - Русский
Scilabヘルプ >> Code Matlab => Scilab > Matlab-Scilab equivalents > Q > qr (Matlab function)

qr (Matlab function)

Orthogonal-triangular decomposition

Matlab/Scilab equivalent

Matlab Scilab
X = qr(A)
[Q,R]   = qr(A)
[Q,R,P] = qr(A)
[..]    = qr(A,0)
[Q,R,P] = qr(A, 'vector')
% No equivalent
% No equivalent

[C, R]  = qr(S,B)
[C,R,P] = qr(S,B)
[..]    = qr(S,B,0)
[C,R,P] = qr(S,B, 'vector')
R = qr(A)
[Q,R]   = qr(A)
[Q,R,P] = qr(A)
[..]    = qr(A, "e")
// No equivalent
[Q, R, rk, P] = qr(A)
[Q, R, rk, P] = qr(A, tolerance)

// No equivalent
// No equivalent
// No equivalent
// No equivalent

When used with two input values and tree output values, Scilab and Matlab qr results can differ. Use mtlb_qr instead.

Report an issue
<< Q Q R >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:38:07 CET 2022