getIndicesInDim
Version 1.0.0 (1.47 KB) by
Christian Ballesteros
Get all indeces (and values) in a matrix fixing the index of a certain dimension.
Get all indeces in a matrix fixing those of a certain dimension.
Input:
inMat = input matrix
idx = indeces of required dimension
dim = dimension of indeces (optional)
Output:
iid = output indexes
val = output values (optional)
Christian Ballesteros Sánchez. 05-10-2020 version.
Cite As
Christian Ballesteros (2024). getIndicesInDim (https://www.mathworks.com/matlabcentral/fileexchange/80836-getindicesindim), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |