Cell array to table in a display mode

Hi,
I have a cell array of stored unique values that has the following format:
when I tried to look at these unique values todecide on which one is problematic using cell2table function, I ended up with a table in the following format:
the question is how to display the table in a way that I can see all values instead of clicking on each cell to figure out the values

4 Comments

Ive J
Ive J on 1 Jan 2021
Edited: Ive J on 1 Jan 2021
MATLAB doesn't have a built-in function called cell2array. Please provide more information and instead of sharing unreadable/uneditable images, share piece of your data.
Wesso
Wesso on 1 Jan 2021
Edited: Wesso on 1 Jan 2021
oh sorry it was a typo. cell2table not cell2array. I uploaded the data in a zip format
You have a nested cell array of different sizes within each cell, so it depends on how you wanna show it in a readable manner. One option is to join elements in each cell with a custom delimiter.
tab = array2table(cellfun(@(x)join(string(x), ';'), Uvalues));
However it's clumsy since there is considerable difference in size between cell elements. Bear in mind that tables are usefull for providing visual aid on structured data (aside from other purposes). Your data is not well structured unless you have something else in mind.
great this is exactly what i want. I want to visually identify the values that i don't want in my column.

Sign in to comment.

Answers (0)

Categories

Tags

Asked:

on 1 Jan 2021

Commented:

on 1 Jan 2021

Community Treasure Hunt

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

Start Hunting!