Here is the FMCW signal represented by the linear chirp in matlab
FMCW=sin(fo*2*3.1416.*t+kf/Tsw*fm);
Tsw=Ts*n
Ts=5e-13
n=5000
t is the time
fo is the initial sweep frequency at which the chirp starts
kf/Tsw represents the rate at which the frequency changes with time where
f1 is the final sweep frequency at which the chirp stop over the sweeping period Tsw
How about FSCW radar Signal generation in matlab?