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