Clear Filters
Clear Filters

How to create a cell containing a cell array?

17 views (last 30 days)
Bhuvaneswari Ramachandran
Bhuvaneswari Ramachandran on 26 Jun 2024 at 22:20
Edited: Walter Roberson on 26 Jun 2024 at 22:27
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.

Answers (1)

Walter Roberson
Walter Roberson on 26 Jun 2024 at 22:27
Edited: Walter Roberson on 26 Jun 2024 at 22:27
YourCellArray = num2cell(YourDataArray,2);

Community Treasure Hunt

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

Start Hunting!