eofproj.m
来自「蒙托卡罗模拟奇异谱分析」· M 代码 · 共 19 行
M
19 行
function [L,s,V]=eofproj(C,E);
% EOFPROJ - projects a lag-M covariance matrix on the eigenbasis E.
% Syntax: L=eofproj(C,E); [L,s,V]=eofproj(C,E);
%
% Input: C - an M by M covariance matrix
% E - an M by M eigenbasis
%
% Output: L - eigenspectrum (the main diagonal of the projection)
% s - squared Frobenius norm of the projection
% V - E'*C*E
%
% Written by Eric Breitenberger. Version 1/21/96
% Please send comments and suggestions to eric@gi.alaska.edu
%
V=E'*C*E;
L=diag(V)';
s=sum(sum(V.^2));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?