POD - Proper Orthogonal Decomposition (Wrapper)

버전 2.0.1 (3.98 KB) 작성자: Fernando Zigunov
By Fernando Zigunov, 2019 [U, S, V] = POD(X) returns the proper orthogonal decomposition
다운로드 수: 1.8K
업데이트 날짜: 2021/4/13

라이선스 보기

=====
This function is just a nice wrapper for Matlab's built-in SVD function, which
only operates in 2D data sets. The wrapper just reshapes the matrices
before and after applying SVD such that the input series X can be
n-dimensional and ensures the output modes U are also n-dimensional.
=====

%POD has several names (POD, SVD, PCA, ...) and is a mathematical tool that
%highlights the principal modes of a random series of variables (i.e.,
%financial measurements, fluid flow fields, structural vibrations, neuron
%firing patterns, video frames, and basically anything imaginable!)

%The POD tool is extremely useful in data analysis to identify the most
%energetic modes of a complex system by simply performing measurements when
%its operating. (But if you're already here you already know all of this.)

%============Inputs:=============
%X - Time series or snapshots to be analyzed. Can be a n-dimensional matrix
%(n>=2). First dimension is time/snapshot, and all other dimensions are
%conserved for output.

%============Outputs:=============
%U - Mode matrix, has the same size of X. First dimension of X was
%"time/snapshot", therefore first dimension of U will be "mode". Modes are
%automatically organized from most energetic U(1,:,:...) to least
%energetic.

%S - Mode eigenvalues. S.^2 gives the mode energies. S is a diagonal
%matrix, so returns just the vector S to save one line of post-processing.

%V - Mode time-series or snapshot coefficients - V contains the
%contribution of each mode to a specific snapshot of X. U*S*V gives back X
%(given U and X are reshaped into 2D matrices again).

인용 양식

Fernando Zigunov (2024). POD - Proper Orthogonal Decomposition (Wrapper) (https://www.mathworks.com/matlabcentral/fileexchange/72022-pod-proper-orthogonal-decomposition-wrapper), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Matrix Decomposition에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
2.0.1

For some reason Matlab Exchange is not updating the thumbnail

2.0.0

Updated bug when the number of sensors was smaller than the number of snapshots.
Included example of usage with a solution of the wave equation for learning purposes.

1.0.1

Updated description

1.0.0