%% Create Labeled dlarray Vector
% Create a dlarray vector with the first label 'T'. The second label, which dlarray creates automatically, is 'U'.

rng default % For reproducibility
X = randn(6,1);
dlX = dlarray(X,'T')

% If you specify a row vector for X, dlarray implicitly reorders the result to be a column vector.

X = X';
dlX = dlarray(X,'T')

% Copyright 2019 The MathWorks, Inc.