NDcell2mat

Custom MATLAB function for converting input cell array, of any size, to a matrix; designed to address some limitations of cell2mat().
24 Downloads
Updated 23 Jan 2024

NDcell2mat

Convert cell arrays, itself composed of numeric arrays of any size, into a larger matrix with filler values to accomodate incongruent sizes, which MATLAB's built-in 'cell2mat()' function does not accomodate. Note: the function reshapes the numeric arrays into vectors along the first scalar dimension of the cell array.

View NDcell2mat on File Exchange

Cite As

Dominik Mattioli (2024). NDcell2mat (https://github.com/domattioli/NDcell2mat), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.2.0

Github integration really caused a mess.

1.1.0

Target file was accidentally removed when this was originally integrated with github.

1.0.8

Integrate fully with GitHub repo.

1.0.7

Finally connecting the original MathWorks File Exchange publication to GitHub repo

1.0.6

Comment typo

1.0.5

Updated comments/help, single error message in the function.

1.0.4

Again, fixing awkward image cropping. No code changes since 1.0.2

1.0.3

Fixing awkward image cropping.

1.0.2

Renamed, generalized code for any inputted cell size and dimension (original version was biased toward Nx1 cell arrays, had error trouble shooting issues). Code suggestion credit to:
https://www.mathworks.com/matlabcentral/profile/authors/3102170

1.0.1

Apply 'lower()' operator to FILLER input and acceptableInput variable.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.