How to create a cell containing a cell array?

6 vues (au cours des 30 derniers jours)
Bhuvaneswari Ramachandran
Bhuvaneswari Ramachandran le 26 Juin 2024
I have an excel file with data. The dimension of data is 2097 x 15. I would like to create a 2097x1 cell in Matlab so that when I click on each cell array, it takes me to that specific row data. Can someone help with this? TIA.

Réponses (1)

Walter Roberson
Walter Roberson le 26 Juin 2024
Modifié(e) : Walter Roberson le 26 Juin 2024
YourCellArray = num2cell(YourDataArray,2);

Community Treasure Hunt

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

Start Hunting!

Translated by