Sampling problem with due

Hello. I have a project for my last semester and I need your help guys. I have to design and build an active power filter for harmonics. This project consists of two circuits. The power circuit consists of an inverter which is controled by the control system. I am using an "arduino due" for sampling signals from both the inverter and the control circuit. My problem is sampling with arduino. I tried the code below and tried to print the results with the serial port. Then I made a graph with excel and the output sigmal was very different from the input signal. So, what am I doing wrong? The photo shows the input signal which going to arduino.
CODE:
void setup()
{
Serial.begin(9600);
analogReadResolution(12);
}
void loop()
{
Serial.print(analogRead(A0));
Serial.print("\n");
}

And sorry for my English. Thank you..

You're probably limited by how fast you can print samples.
What happens if you increase the serial speed to 115200?

I haven't tryied this serial speed. I 've tried 14400 and the result was something like chinese, I don't know how to explain it. So I thought that increasing the speed is meaningless.

Should I try something different?

You could try changing the speed at the transmitter and receiver.

Sorry, but where is that transmitter and that receiver..?
Can you explain me how can i change these?

You haven't told us what the receiver is, but assume it is the serial monitor or a terminal emulator.
Change the speed there.

So this isn't arduino's problem. The problem is that we have to find the right speed so that the serial port can print the results fast.