Good day,
I am trying to run capture demo for plotting Range-Doppler heat map, Range-time and Doppler-time plots etc. I am using the capture_demo.m script in matlab. I was wondering how to interpret the data imported in the matlab for processing. Specifically, in the line 121-122 :
% pure ADC samples of one frame
ADCSamplesFrame(1:K*Nchirp,:) = rad_in(1:K*Nchirp,:);
The left side makes sense that we are importing data for one complete frame into the 'ADCSamplesFrame', but how does it correspond to rad_in() ? . For example, K=256(ADC samples), Nchirp=128 (no. of chirps) means ADCSamplesFrame (32768*2 double). However, we save the L3 capture data using the formula :
No. of bytes = No. of ADC Samples*No of Rx Channels*No. of Frames*No of Chirps*4Bytes per sample into the script. So, in capture demo case, it is No. of bytes= 256*1*1*128*4=131072 bytes/16= 8192 words which translates to rad_in(4096*2 double) in line 118. How does the command work if we have the different sizes ?. Kindly help to resolve this issue. I am familiar with radar data cube structure (sensor*fasttime*slowtime) or (sweeps per burst x fast time x bursts). So, any explanation in this context will be very helpful.
Regards,
Sheeraz