Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語 - Русский
Aide de Scilab >> Code Matlab => Scilab > Equivalences Matlab -> Scilab > 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.

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:33:08 CET 2022