Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.0.0 - English


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-2024 (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:
Tue Oct 24 14:30:10 CEST 2023