help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mgorth usage


From: James Sherman Jr.
Subject: Re: mgorth usage
Date: Mon, 17 Sep 2012 12:33:37 -0400

On Mon, Sep 17, 2012 at 12:23 PM, JuanPi <address@hidden> wrote:
Hi,
I was trying to define if Octave has Gram-Schmidt defined. The only
thing I find is the function mgorth.
Sadly there are no usage examples nor demos and I fail to understand
the help string.
"Orthogonalize a given column vector X with respect to a given
     orthonormal basis V using a modified Gram-Schmidt
     orthogonalization."

If V is already an orthonormal basis, how can one find an extra
orthogonal vector? I think it should say
"Orthogonalize a given column vector X of size D-by-1 with respect to
a given orthonormal set V of size D-by-N, with D>N, using a modified
Gram-Schmidt
     orthogonalization."

Is that correct?

--
JuanPi Carbajal
-----
"The bad economist pursues a small present good, which will be
followed by a great evil to come, while the true economist pursues a
great good to come, at the risk of a small present evil." - Frédéric
Bastiat
-----
http://ailab.ifi.uzh.ch/carbajal/
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave


"If V is already an orthonormal basis, how can one find an extra
orthogonal vector?"

If its a basis of a subspace of R^D.  For example, [1,1,0]' and [1,-1,0]' form an orthogonal basis, just not of R^3.

While the original I think is technically correct, its not as precise as yours.

James Sherman

reply via email to

[Prev in Thread] Current Thread [Next in Thread]