Not sure what you are trying to do. Do you have a .tif file called z.tif? Then the solution would be to specify the .tif file as a string:
z = double(imread('z.tif'));
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!