how to record an analog signal with arduino and send it to matlab.

I don't know how to do that, but the Arduino has limited memory, the ADC is only 10 bits, the input has to be biased to capture both the positive and negative halves of the waveform, and I believe there are sample rate limitations.

So, how about recording with your computer's soundcard, and then open the WAV file in MATLAB?.