I have a structure called (level3) and inside it some fields (e.g x0, vx). each field is an array with some values as shown in the screenshot.
I would like to go through these fields values and multply them as follows:
.... and so on.
so I got at the end 10 arrays of results of x
I tried to do it like this but I just got one array with the last value.
fields = fieldnames(level3);
x = [x0. * vx];
Thanks in advance