Introduction - If you have any usage issues, please Google them yourself
Using MATLAB simulation of the sinusoidal signal using orthogonal sequence demodulation and FFT demodulation, demodulation of the amplitude and phase. And the relative error of demodulation results is given.