Hi, I'm trying to write multidimensional TIFF files (also known as "hyperstacks" in ImageJ). For example, the "dimensions" will be microscopy attributes, such as fluorescence channel, timepoint, stage position, etc. I have an example below. I tried using the imwrite "append" mode in a nested for loop but it simply created a 21x1 stack, not a 7x3 as I had hoped. Any suggestions? Thanks.
outputFileName = 'img_stack.tif'
for j = 1:3
for i = 1:7