Concatenating n number of doubles

1 次查看(过去 30 天)
As seen in the picture I have a 1*n array with 3 fields with each filed being an array of values. Is there a command to concancate all the values under the field filterindex into one array?
Thanks you!

回答(1 个)

Guillaume
Guillaume 2016-9-13
vertcat(yourstruct.filterindex)
should work.
See also the help

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by