I want to for-loop through some values and for each value of the index I want to save an image to the disk. Is there a way to achieve the following:
N = 16;
name_RGB = ["RGBN" N ".jpeg"];
imwrite(image1, name_RGB, "jpeg");
??
So to explain, the loop is currently on index 16. I want to save an image with the name "RGBN16.jpeg". Anyone know if it is possible to join strings and variables together in Octave?
newString = sprintf('%s %d', oldString, number)in this answer