CDMDc
Compressive dynamic mode decomposition with control for compressive system identification
Install / Use
/learn @zhbai/CDMDcREADME
Compressive Dynamic Mode Decomposition with Control (cDMDc)
cDMDc [1] is a novel framework for compressive system identification unifying two recent innovations that extend DMD to systems with actuation [2] and systems with heavily subsampled measurements [3]. Using cDMDc it is possible to identify a low-order model from limited input–output data and reconstruct the associated full-state dynamic modes with compressed sensing, adding interpretability to the state of the reduced-order model. Moreover, when full-state data is available, it is possible to dramatically accelerate downstream computations by first compressing the data.
The publication "Dynamic mode decomposition for compressive system identification" by Z. Bai, E, Kaiser, J. L. Proctor, J. N. Kutz and S. L. Brunton. is available on arXiv.
Installation
- Clone this repository to your desktop.
- Add path to
cDMDc/utilsfolder to Matlab search path usingaddpath('<path to mds>/cDMDc/utils').
Dependencies
For the reconstruction of the modes, cDMDc uses the CoSaMP algorithm developed by Deanna Needell and Joel Tropp [4].
An implementation written by David Mary and Bob L. Sturm is added in the folder cDMDc/utils , which is released under the the Commons Creative Licence with Attribution Non-commercial Share Alike (by-nc-sa).
Getting Started
See Ex01_SFLS.m for demonstrating the approach on a stochastically forced linear system with known low-rank dynamics and an artificially inflated state dimension (Example 4.1 in [1]). Just execute this file in MatLab and it will generate the model, figures, and compute the reconstruction error.
Organization
The algorithms are in the cDMDc/utils directory:
func_DMD — Exact DMD, Algorithm 1 in [1].
func_DMDc - DMD with control, Algorithm 2 in [1].
func_cDMD - Compressive DMD, Algorithm 3 in [1].
func_cDMDc - Compressive DMD with control, Algorithm 4 in [1].
checkModes - reorder the modes and return the index of the mode with zero eigenvalues.
normalize - normalize the DMD modes for calibration.
turn_sign - regulate the DMD modes for plots and error report.
cosamp - iterative signal recovery from incomplete and inaccurate samples" by Deanna Needell and Joel Tropp.
License (MIT license)
See the LICENSE file for details.
References
[1] Z. Bai, E. Kaiser, J. L. Proctor, J. N. Kutz, and S. L. Brunton. Dynamic mode decomposition for compressive system identification. arXiv Preprint, arxiv.org/abs/1710.07737, 2017.<br /> [2] J. L. Proctor, S. L. Brunton, and J. N. Kutz. Dynamic mode decomposition with control. SIAM J. Applied Dynamical Systems, 15(1):142–161, 2016.<br /> [3] S. L. Brunton, J. L. Proctor, J. H. Tu, and J. N. Kutz. Compressed sensing and dynamic mode decomposition. Journal of Computational Dynamics, 2(2):165–191, 2015.<br /> [4] D. Needell and J. A. Tropp. CoSaMP: iterative signal recovery from incomplete and inaccurate samples. Communications of the ACM, 53(12):93–100, 2010.
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
