Help CenterHelp Center
Dimension labels of dlarray
dlarray
d = dims(X)
example
d = dims(X) returns the data format of X as a character array. The data format provides the dimension labels for each dimension in X.
d
X
collapse all
Obtain the dimension labels of a formatted dlarray.
dlX = dlarray(randn(3,4),'TS'); d = dims(dlX)
d = 'ST'
Obtain the labels of an unformatted dlarray.
y = stripdims(dlX); d = dims(y)
d = 0x0 empty char array
Input data, specified as a formatted or unformatted dlarray object.
Dimension labels, returned as a character vector. If the input X is unformatted, d is empty.
Introduced in R2019b
finddim | stripdims | dlarray
finddim
stripdims
Vous possédez une version modifiée de cet exemple. Souhaitez-vous ouvrir cet exemple avec vos modifications ?
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office