clear all
file = 'E:\AtlanticTransect_2014\PolarStern\radar\Wband\Raw\20140942100MMCRMom.nc'; 
ncid = netcdf.open(file,'nc_nowrite');
varname = 'time_offset';
varid = netcdf.inqVarID(ncid,varname);
data = netcdf.getVar(ncid,varid);
numbeams = length(data);
%  
ti = 1:numbeams-1;
to = (data(ti+1)-data(ti));
plot(to);
netcdf.close(ncid)

  
