%% Create LSTM Layer
% Create an LSTM layer with the name 'lstm1' and 100 hidden units.

layer = lstmLayer(100,'Name','lstm1')

% Include an LSTM layer in a Layer array.

inputSize = 12;
numHiddenUnits = 100;
numClasses = 9;

layers = [ ...
    sequenceInputLayer(inputSize)
    lstmLayer(numHiddenUnits)
    fullyConnectedLayer(numClasses)
    softmaxLayer
    classificationLayer]

%