I have different size of arrays such as [6:8], [11:21], [14:15], etc.
I need to assign these values to a variable set which should contain strings specified in a different array. Let me give an example:
variables = ["a", "b", "c"];
% I need to design a structure just like below but inside a for loop.
% Because I've lots of variables and arrays.
xx.a = [6:8];
xx.b = [11:21];
xx.c = [14:15];
Is there any solution proposal?