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)
引用格式
jing wang (2024). ReighleyQuotient(A,B,ORDER,ORTH) (https://www.mathworks.com/matlabcentral/fileexchange/66547-reighleyquotient-a-b-order-orth), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2016b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Linear Algebra >
在 Help Center 和 MATLAB Answers 中查找有关 Linear Algebra 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | exmaple
example
|