conversion of cell to matrixes

Hello pls
How do I convert a one column cells k which is a non scalar vector of 12000 rows to matrices For instance [K{:}] to K(:, 1). Thanks for your help in advance Tino

1 Comment

I am not clear? What is size(K{1}) ? In the result, where should K{2} appear relative to K{1} ?
If K is a cell of column vectors, the [K{:}] would create an array in which each entry becomes a column, which sounds like what you are asking for.

Answers (1)

KSSV
KSSV on 31 May 2019
Edited: KSSV on 31 May 2019
Read about cell2mat
iwant = cell2mat(K) ;

This question is closed.

Products

Release

R2019a

Tags

Asked:

on 31 May 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!