blob: c9a52850f896b2a35f5380edd258d3545316ba4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
x=1
disp("x intercept = "+string(x)) //initializing value of x intercept..
y=%inf
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
|