Hadamard matrices has many applications in design of experiment, coding, network and logic circuit and there are also many ways to construct Hadamard matrices. In this paper, by using the antisymmetric Hadamard matrices, we construct a class of binary self dual linear error correcting codes and a class of ternary self dual linear error correcting codes