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