WITH_DASH_DASH Extract a matrix.
%%
X{2} %<REPLACE_WITH_DASH_DASH Same as above.
%% Subscripted assignment for a ttensor
X.core = tenones(size(X.core)) %<REPLACE_WITH_DASH_DASH Insert a new core.
%%
X.core(2,2,1) = 7 %<REPLACE_WITH_DASH_DASH Change a single element.
%%
X{3}(1:2,1) = [1;1] %<REPLACE_WITH_DASH_DASH Change the matrix for mode 3.
%% Using end for last index
X{end}  %<REPLACE_WITH_DASH_DASH The same as X{3}.
%% Basic operations (uplus, uminus, mtimes) for a ttensor.
X = ttensor(tenrand([2 2 2]),