Rapid access and data manage of a table with cell array in the columns

1 次查看(过去 30 天)
Hi everyone
I have a database like this
How can I rapidly access the data in cell columns (example: "forze", "H3raw", "H3p"...)
I would like to scroll the table rows and for each line doing operations or take data from the double array in those columns. I think i'm doing it in a very tedious way while maybe there are proper ways to save code and time. For example: calculate the maximum of each column of the H3raw cell column for each row and save the values in a table or array
Thanks

采纳的回答

Duncan Po
Duncan Po 2021-2-22
You can use cellfun. For example, to compute the maximum of each column of the H3raw cell column for each row, do this:
cellfun(@max, dati.H3raw, 'UniformOutput', false)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by