ReighleyQuotient(A,​B,ORDER,ORTH)

version 1.0.0.0 (915 Bytes) by jing wang
Reighley quotient

21 Downloads

Updated 21 Mar 2018

View License

find eigenvalue S, and corresponding eigenvector X, using Reighley quotient R(A,B)= x'Ax/x'Bx = X' S X / X'X
Example:
A = (x1 - x2)' * ( x1 - x2); % L2 normal, x's dimension is nxp, n = number of observations, p = dimensionality.
B = cov([x1; x2]);
[S,X] = ReighleyQuotient(A,B,'min',1)

Cite As

jing wang (2022). ReighleyQuotient(A,B,ORDER,ORTH) (https://www.mathworks.com/matlabcentral/fileexchange/66547-reighleyquotient-a-b-order-orth), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!