how to convert cell array to matrix

2 visualizzazioni (ultimi 30 giorni)
ZEMIN HUANG
ZEMIN HUANG il 31 Gen 2021
Risposto: Stephen23 il 31 Gen 2021
i have a cell array that looks like below. I would like to convert it into a matrix that is 480000X384. Could anyone help me on this please?

Risposta accettata

Stephen23
Stephen23 il 31 Gen 2021
Where C is your cell array:
M = horzcat(C{:}).'

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by