How do you open data contained within one cell of a variable?

2 vues (au cours des 30 derniers jours)
Franchesca
Franchesca le 20 Avr 2014
I have imported a number of excel files, Trial 7 to Trial 54. They have all imported into one variable and within that variable you have to double click a cell to see all the data for that Trial.
I am now trying to process the data to work out the time to do this I need to count the number of zeros however when writing the code I can access a row and column within the variable however this doesn't open the data within that cell. Is there code which accesses the data within a cell?

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 20 Avr 2014
Modifié(e) : Azzi Abdelmalek le 20 Avr 2014
your cell array A should be a 1x54 cell, to access your data use a curly brackets
A{1}
A{2}

Plus de réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by