Write a Matlab script that can automatically detect which of the images in the provided archive were taken during daytime and which were taken at night.
- Your code must process a directory of input images in its entirety.
- For each file in the directory, your code is to display the image with the caption “day” or “night”, pause for a keyboard input, and process the next image similarly until no files remain.
- The only input to your code must be the path to the directory.

