cell2mat

cell2mat(C) converts cell array C into a matrix.

Examples

> C = {'ab' 'c'; 'd' 'ef'}#

	[ab][c]
	[d][ef]

> cell2mat(C)#

	abc
	def
> C = {1 2:3; 4:5 6}#

	[ 1][1x2 double]
	[1x2 double][ 6]

 > cell2mat(C)#

	1            2            3
	4            5            6

Resources

See also

cell | iscell