clc x=%inf disp("x intercept = "+string(x)) //initializing value of X intercept. y=1 disp("y intercept = "+string(y)) //initializing value of Y intercept. z=%inf disp("z intercept = "+string(z)) //initializing value of Z intercept. h=[1/x] disp("miller indices,h=[1/x] = "+string(h))//calculation k=[1/y] disp("k=[1/y] = "+string(k))//calculation l=[1/z] disp("l=[1/z] = "+string(l))//calculation