DASH Create some random matrices.
core2 = ktensor(V); %<REPLACE_WITH_DASH_DASH Create a 3 x 2 x 1 ktensor.
Y = ttensor(core2,U) %<REPLACE_WITH_DASH_DASH Core is a ktensor.
%% 
core3 = ttensor(tensor(1:8,[2 2 2]),V); %<REPLACE_WITH_DASH_DASH Create a 3 x 2 x 1 ttensor.
Y = ttensor(core3,U) %<REPLACE_WITH_DASH_DASH Core is a ttensor.
%% Creating a one-dimensional ttensor
Z = ttensor(tensor(rand(2,1),2), rand(4,2)) %<REPLACE_WITH_DASH_DASH One-dimensional ttensor.
%% Constituent parts of a ttensor
X.core %<REP