blob: e9b485d87829a4a74785f0e178463f031d82934e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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 = ")
|