I am using MATLAB 2018a, I want to know how I can modify the MATLAB example for "sequence to sequence regression using deep learning" to use it with "double" type predictor data array Xtrain of size 823x9 and "double" type response data array Ytrain of sixe 1x823.

I couldn't translate the code to be used with my load data. My goal is to forecast load using this example.