clc; clear all; close all; M=256;% no of samples per chirp N=128;% no of chirps T=2;% no of transmitters K=4;% no of receivers Fr=32;% No of Frames 300 possible % Default consts from Radar Studio sampl_rate=10000e3;% sampling rate slope=29.982e12;%slope x_axis_val = ((0:(M-1))/M)*(sampl_rate/slope)*3e8/2;% (sampling rate/2*slope)* c %File read fid=fopen('finiteframes_trial.bin'); c=fread(fid,Inf,'uint16'); fclose(fid); bitwidth=16; data=c(1:M*N*K*T*2*Fr); data( data > 2^(bitwidth-1)-1) = (data( data > 2^(bitwidth-1)-1) - 2^(bitwidth)); % Unsigned to signed fixed point value conversion d1=reshape(data,2,M,K,T,N,Fr); sig=squeeze(d1(1,:,:,:,:,:)+1i*d1(2,:,:,:,:,:)); x=fft(sig); figure, plot(x_axis_val,abs(mean(x(:,:,1,1,1),2)));