Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Using data from cell arrays

1 vue (au cours des 30 derniers jours)
Kash022
Kash022 le 13 Avr 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hello All,
I have a 1x2 cell called All which again contains 1x1024002 values each. I need to manipulate these values together. I am trying the following code but it does not work.
value_PCA(:,:) = All{1,2};
where All is 1x2 cell. I am getting the following error : Conversion to cell from double is not possible. Please let me know how to proceed. Thanks!

Réponses (1)

Andrei Bobrov
Andrei Bobrov le 13 Avr 2016
value_PCA = cat(1,All{:});
  1 commentaire
Kash022
Kash022 le 13 Avr 2016
yes but it again created a matrix of 1x2 size which internally contains those 1x1024000 values. I need those values directly outside.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by