Weight Distribution of Some Codewords of 3-ary Linear Code over GF(27)

Abstract

This paper is devoted to introduce the structure of the p-ary linear codes C(n,q) of points and lines of PG(n,q),q = p^h, when p=3. The linear code C(2,27) is given with its generator matrix. Also, some of weight distributions are calculated. Finally, the generator matrix to the dual code of C(2,27) has been founded.