Code covered by the BSD License  

Highlights from
Generalized orthogonalization

5.0

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 2.33 KB File ID: #24002

Generalized orthogonalization

by Bruno Luong

 

05 May 2009 (Updated 26 May 2009)

Orthonormal basis of a set vectors with respect to a non-euclidian scalar product

| Watch this File

File Information
Description

Input:
  A: (m x n) matrix
  B: (m x m) matrix, symmetric positive-definite
Output:
  Q : (m x k), where k is the rank of A
  span<Q> = span<A> the columns of Q span the same space as the
  columns of A, and the number of columns of Q is the rank of A.
  Q satisfies: Q'*B*Q = I,

MATLAB release MATLAB 7.8 (R2009a)
Other requirements Should work on most Matlab release
Tags for This File  
Everyone's Tags
hilbertian, orthogonalization, projection, regularization, vector space
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
04 Aug 2011 Andrew Knyazev

My http://www.mathworks.com/matlabcentral/fileexchange/51-ortha-m does the same. However, mine supports B sparse or even given only as a function performing the product B*X.

05 May 2009 Darren Rowland

Efficiently and concisely coded. Excellent

Updates
06 May 2009

Correct bug when calling with n = 1

26 May 2009

Ordering flag

Contact us