Code covered by the BSD License  

Highlights from
Generalized orthogonalization

5.0

5.0 | 1 rating Rate this file 6 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
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
05 May 2009 Darren Rowland

Efficiently and concisely coded. Excellent

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.

Please login to add a comment or rating.
Updates
06 May 2009

Correct bug when calling with n = 1

26 May 2009

Ordering flag

Tag Activity for this File
Tag Applied By Date/Time
orthogonalization Bruno Luong 05 May 2009 09:26:08
vector space Bruno Luong 05 May 2009 09:26:08
hilbertian Bruno Luong 05 May 2009 09:26:08
regularization Bruno Luong 05 May 2009 09:26:08
projection Bruno Luong 05 May 2009 09:26:08

Contact us at files@mathworks.com