Phase of the sine signal by finding FFT of it in matalb using angle I am using sine signal with  phase=0 an frequency=100KHz.
Computed FFT of it.
Using angle function and multiplied the result with 180/pi;
But getting 90.36 at 100KHz frequency.
Can anybody explain why I am getting 90 degree instead of 0 degree?
The basis function for the Fourier Transform is the complex exponential $e^{j\omega t}$
Since
$$sin(\omega t) = \frac{1}{2j}(e^{j\omega t} - e^{-j\omega t}) $$
the Fourier Transform of a sine wave a phase of -90 degrees at the positive frequency and a phase of +90 degrees at the negative frequency.
For a cosine, the phase would be 0 for both the positive and the negative frequency.