clc; clear all; h = 1;// Miller Indices k = 1;// Miller Indices l = 0;// Miller Indices a = 1/h; b = 1/k; //c = 1/l; Division by zero disp('The intercept made along Z-axis is infinity. It means that plane is paralle to Z axis')