I have the following problem: I have 30 experiments and would like to plot them several graphs. The user should be able to decide which experiments to plot on the same graph and which on different ones. For that I introduced a cell array, e.g.
Here, experiments 2 and 5 shall be plotted on the same graph, whereas experiment 4 shall be plotted on a second graph. I also allow the user to choose which experiments (out of 30) to run in the first place.
That runs the first four experiments. As you can see, the user might want to run more experiments than what he's actually going to plot. But the values in plotselect must be a subset of expselect. How can I retrieve the values in plotselect that are also in expselect? That is, I'd like to get