DC fan speed control

@vinayak.joshi Dear Sir,
I tried it with L298N, 9v battery and Arduino as per the following circuit


Except that I connected only 1 motor and my supply battery was 9v. The Arduino code is as shown below:

int enA = 9;
int in1 = 8;
int in2 = 7;
void setup() {
// put your setup code here, to run once:
pinMode(enA, OUTPUT);
pinMode(in1, OUTPUT);
pinMode(in2, OUTPUT);
digitalWrite(in1, LOW);
digitalWrite(in2, LOW);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(in1, HIGH);
digitalWrite(in2, LOW);
analogWrite(enA, 255);
delay(2000);
}

But the motor is not rotating just shaking(like small trembles) a bit but not rotating. Please help soon.