Borrar filtros
Borrar filtros

simple question about cell array resizing

1 visualización (últimos 30 días)
ludvikjahn
ludvikjahn el 6 de Mzo. de 2015
Respondida: Andrei Bobrov el 6 de Mzo. de 2015
Just a simple question:
I have
A={[1,2]';[3,4,5,6]'}'
and want to transform it into a cell array:
A={[1,2,3,4,5,6]'}'
which is the fastest way to get it?
Thanks

Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 6 de Mzo. de 2015
out = {cat(1,A{:})}

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by