? You do not show a timeseries ?
fft() cannot be done directly on a timeseries object.
If the times are regular intervals the extract the Data property from the timeseries and fft() that; if you end up plotting that then you can use the Time property of the timeseries to figure out delta-time to figure out sampling frequency.
If the times are not regular intervals then there are no Mathworks-provided routines to do the calculations, but you can see https://www.mathworks.com/matlabcentral/fileexchange/25135-nufft--nfft--usfft NUFFT from the File Exchange