This houses the code that generated the example for the paper "On Koopman mode decomposition and tensor component analysis" W. T. Redman (2021). For more details see the scripts and the accompanying paper (https://arxiv.org/abs/2101.00555).
The provided function makes use of only Matlab. TensorLab 3.0 (which is freely available at https://www.tensorlab.net/) is requried.
For any questions, don't hesitate to email wredman@ucsb.edu.