SilLAwNeD

Scilab, mcqr function

Jan 2nd, 2019
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scilab 0.15 KB | None | 0 0
  1. function [z] = mcqr(A, y)
  2.     [m, n] = size(A);
  3.     [Q, R] = qr(A3);
  4.     e = Q' * y
  5.     Rt = R(1:n, :)
  6.     z = solsup(Rt, e(1:n,:)
  7. endfunction
Add Comment
Please, Sign In to add comment