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

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 2021 The MathWorks, Inc.