I am studying the example "Time Series Forecasting Using Deep Learning" tutorial provided by Matlab below https://uk.mathworks.com/help/deeplearning/ug/time-series