I have created a 'for' loop which effectively returns a value every time it runs. However, the previous value is overwritten when the 'for' loop executes again, leaving only the last value when the loop ends. I would like to retain all of the values in which the 'for' loop finds, so I can then plot all my data on one graph.
I am finding the branchpoints for multiple images and want all the branchpoints to be accessible in one variable/ vector.
I hope someone can help! Thanks in advance.