- #1
zxc01
- 2
- 0
Hello.
I have recently transferred courses, and am expected to know how to use Matlab, but have never been taught before. Therefore I have been trying to go through and teach myself some of the bits I will need to know from it.
We were told we had to know how to do certain things already and I have been going through these.
Create a sine wave, calculate the FFT of the sine wave, extract the frequency of the FFT of the sine wave from the FFT data, and know what happens to the time-domain and FFT-domain of this data if the phase of the sine wave were shifted by a few degrees.
I tried with the help of the getting started guide in Matlab itself and input:-
x=0:pi/100:2*pi
y=sin(x)
plot(x,y)
y=fft(x)
And couldn't do any of the others.
Would appreciate some help.
Thank you.
I have recently transferred courses, and am expected to know how to use Matlab, but have never been taught before. Therefore I have been trying to go through and teach myself some of the bits I will need to know from it.
We were told we had to know how to do certain things already and I have been going through these.
Create a sine wave, calculate the FFT of the sine wave, extract the frequency of the FFT of the sine wave from the FFT data, and know what happens to the time-domain and FFT-domain of this data if the phase of the sine wave were shifted by a few degrees.
I tried with the help of the getting started guide in Matlab itself and input:-
x=0:pi/100:2*pi
y=sin(x)
plot(x,y)
y=fft(x)
And couldn't do any of the others.
Would appreciate some help.
Thank you.