Filter löschen
Filter löschen

how to create a matrix from specific Cell array elements?

1 Ansicht (letzte 30 Tage)
Miguel Reina
Miguel Reina am 26 Aug. 2016
Bearbeitet: Stephen23 am 26 Aug. 2016
I have a cell array (dimensions 21x8) and i need to get the values (1,1 - 1,2 - 2,1 - 2,2) and create a matrix, each element on the cell array is a vector of 10 elements. Which is the best way to solve this? Thank you in advance

Akzeptierte Antwort

Stephen23
Stephen23 am 26 Aug. 2016
Bearbeitet: Stephen23 am 26 Aug. 2016
Where C is your cell array:
cell2mat(C(1:2,1:2))

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by