FT and Amplitude Phase plot in matlab
The function I need to find the fourier transform of is: x = (t-5)^2/e^8t , t>5
and I want to plot the amplitude spectrum.
This is the code I've written so far but it doesn't seem to work properly.
x2 = ((t-5)^2)/exp(8*t);
x2_FT = fourier(x2);
fplot(t,x2,'-b'); hold on; title('Signal'); grid on;
plot(w_values, abs(X_values),'*'); title('Amplitude Plot'); grid on;
Also any help on how to actually solve the fourier transform of the above mentioned function will be greatly appreciated.
Thanks in advance!