How to write all data of a cell array into one big list?

80 vues (au cours des 30 derniers jours)
Marcus W
Marcus W le 12 Déc 2018
Commenté : Marcus W le 13 Déc 2018
Hello,
I'm searching for a function or fast way to write all data of a cell array into one big list.
I receive with the function "rangesearch" a cell array with different content like this:
1x17 double
1x14 double
1x11 double
1x21 double
Now I want all this data in one big list of 1x63 elements.
Now I achieve this with a for-loop, but is there an existing function or faster way than mine?
Thanks in advance

Réponse acceptée

Daniele Mascali
Daniele Mascali le 12 Déc 2018
If A is your cell array, you might try:
[A{:}]
  1 commentaire
Marcus W
Marcus W le 13 Déc 2018
Great!
That was exactly what I was searching for. Thanks a lot!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Cell Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by