y — Data array single array | double array | logical array | gpuArray
Data array, returned as a single, double, or logical array, or as a
gpuArray of one of these array types. The output
y has the same data type as the underlying data type in
dlX. The output y is unlabeled.
Tips
If dlX contains an implicit permutation because of labeling,
y has that permutation explicitly.
The output y has no tracing for the computation of derivatives.
See Derivative Trace.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
Usage notes and limitations:
Code generation does not support gpuArray data type.
GPU Code Generation Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.
Usage notes and limitations:
For recommendations and limitations on gpuArray, see Support for GPU Arrays (GPU Coder).
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.