% S = dmpsample(Q,A,P,K,T) Sample sequences from a discrete Markov process
%
% In:
%   Q,A,P: discrete Markov process parameters (see dmptrain.m).
%   K: number of sequences to generate.
%   T: length of each of the sequences.
% Out:
%   S: KxT array of chars, the sample sequences.

