Considering the non-stationarity of EEG signals,AAR(adaptive autoregressive) model is proposed to extract features from it,the model is applied to EEG signals recording from one subject performing two different mental tasks.The resulting features are sent to a surport vector machine(SVM) classifier,for training and testing,and the result is perfect.Experiments turn out that SVM classifier can get good results for different mental tasks classification.