Help CenterHelp Center
Dimension labels of dlarray
dlarray
Since R2019b
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
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Select a Web Site
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