net = trainNetwork(train_X1, string(Y1), layers, options);
Error using trainNetwork (line 184)
The training sequences are of feature dimension 120 but the input layer expects sequences of feature dimension 2.
And indeed you coded
If you are only wanting to pass in two features then you are going to have to extract those two features out of your 120 x 2289 array.