I have a voice signal a. Lets say its a sine with x Hz.
Length and sampling frequency are writen below:
fs = 100000;
T = 1/fs;
L = 100000;
t = (0:L-1)*T;
Here is the FFT of this signal in Hertz
NFFT = 2^nextpow2(L);
ff = fs/2*linspace(0,1,NFFT/2+1);
A = fft(a,NFFT)/L;
How can we apply a 90 degrees phase shift to this signal-a? Actually, we can estimate its type, frequency and amplitude by plotting it in time and freq. domain and then we can write it as something(2*pi*x*t). Then of course, shifted wave will become something(2*pi*x*t+pi/2). But we need a code that directly shift its phase 90 degrees.
Best regards Dave