How to extract a column from a structure and save as a 4D matrix
5 views (last 30 days)
If I have a structure with 56 rows and 3 columns, and I want to extract all information in the 3rd column with the field name 'VMPData', and save it as a 4-D matrix how do I do that via code? Each row in the 3rd column contains 3D information, but I want to save the full column as a 4D matrix.
Thank you so much in advance!!
Jyotsna Talluri on 17 Jan 2020
4D matrix is obtained by concatening 3D matrices using cat function
Suppose your structure array is S which has 3D information in field 'VMPData'
Refer to the below link