About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconCell2Vec (Scripts) Publisher's description

CELL2VEC - Concatenate cell elements to a vector
The elements of arrays

CELL2VEC - Concatenate cell elements to a vector
The elements of arrays, which are elements of the input cell, are concatenated to a vector.
V = Cell2Vec(C)
C: Cell array of any size. Accepted classes: all numerical types
All non-empty cell elements must be the same class.
V: [1 x N] vector of all elements. The class of V is the class of the
cell elements of C.

C = {1, 2; 3, 4};
V = Cell2Vec(C) % [1, 3, 2, 4] columnwise order
M = reshape(V, size(C)) % [1, 2; 3, 4]

NOTE: If the cell elements are vectors, this equals CAT, but is remarkably
faster for large cells: It seems that CAT fails for a smart pre-allocation?!
E.g. for a {1 x 5000} cell string with a total of 200.000 CHARs:
CAT (Matlab 6.5) => 60 sec
CAT (Matlab 7.8) => 5 sec
Cell2Vec: => 1.2 sec (1.5GHz Pentium-M).

System Requirements:

MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Cell2Vec (Scripts) Tags:

Click on a tag to find related softwares

Is Cell2Vec (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.