# MATLAB: Can anyone help me to perform an FFT from a text file, to rad/sec on x axis

fast fourierfft

Hi, I have never used Matlab before but as part of a project I need to convert data in time domain to frequency domain with the x axis in the unit of rad/sec. Can anyone help me to produce this code? The data is attached and consists of 80 samples per second. My progress on the code can be seen below. Thank you in advance.
N = length (signal);
fs = 80;
X_amp = abs(fft(signal));
bin_vals = [0 : N-1];
D = load('F072.txt');                                           % Column VectorL = numel(D);                                                   % Signal LengthFs = 80;                                                        % Sampling Frequency (Hz)Fn = Fs/2;                                                      % Nyquist Frequency (Hz)Ts = 1/Fs;                                                      % Sampling Interval (sec)t = linspace(0, L, L)*Ts;                                       % Time Vectorfigure(1)plot(t, D);gridxlabel('Time (sec)')ylabel('Amplitude')title('Time Domain Plot')S = D - mean(D);                                                % Subtract D-C OffsetFTS = fft(S)/L;                                                 % Fourier TransformFvrs = linspace(0, 1, fix(L/2)+1)*pi;                           % Frequency Vector (rad/sec)FvHz = linspace(0, 1, fix(L/2)+1)*Fn;                           % Frequency Vector (Hz)Iv = 1:numel(Fvrs);                                             % Index Vectorfigure(2)plot(Fvrs, abs(FTS(Iv))*2)gridxlabel('Frequency (rad/s)')ylabel('Amplitude')title('Frequency Domain Plot')figure(3)semilogx(Fvrs, abs(FTS(Iv))*2)gridxlabel('Frequency (rad/s)')ylabel('Amplitude')title('Frequency Domain Plot')