clc; close; Num_of_pixels_in_width = 2400; // Given width of the image in pixels Num_of_pixels_in_height = 2400;//Given height of the image in pixels Resolution = 300 // Scanning resoltuion in DPI //The Physical size of the Image disp(string(Num_of_pixels_in_width/Resolution)+" inches x "+ string(Num_of_pixels_in_width/Resolution)+" inches","The physical size is = ")