1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
6
<TYPE>Scilab Function</TYPE>
7
<DATE>April 1993</DATE>
8
<SHORT_DESCRIPTION name="orth"> orthogonal basis</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>Q=orth(A) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>A</PARAM_NAME>
17
<SP>: real or complex matrix</SP>
21
<PARAM_NAME>Q</PARAM_NAME>
23
<SP>: real or complex matrix</SP>
29
<P><VERB>Q=orth(A)</VERB> returns <VERB>Q</VERB>, an orthogonal
30
basis for the span of <VERB>A</VERB>. Range(<VERB>Q</VERB>) =
31
Range(<VERB>A</VERB>) and <VERB>Q'*Q=eye</VERB>.</P>
33
The number of columns of <VERB>Q</VERB> is the rank of
34
<VERB>A</VERB> as determined by the QR algorithm.</P>
38
A=rand(5,3)*rand(3,4);
39
[X,dim]=rowcomp(A);X=X';
40
svd([orth(A),X(:,1:dim)])