How to use qr for symbolic matrix in R2013?

1 view (last 30 days)
please help me to know how I can decompose the symbolic matrix such as [s 1;1 s] in Matlab R2013?

Answers (1)

Walter Roberson
Walter Roberson on 1 Dec 2015
The specific interface for symbolic qr was introduced in R2014a.
syms s
A_QR = feval(symengine, 'linalg::factorQR', [s 1; 1 s])
  2 Comments
Amir Heydari
Amir Heydari on 2 Dec 2015
Thank you Walter is there any command to have the answer in real domain and to avoid the complex answer?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!