I'm trying to use the MATLAB script defined in 6.1 of this guide to parse a memory capture received with the mmWave SDKv1.2 mem_capture test code (using the default settings). However, when I try to run the script I get this error:
Error using reshape: Product of known dimensions, 8, not divisible into total number of elements, 196621.
Since the script only really has one variable that users should modify (numADCBits) and I'm pretty sure it is correctly set to 16, I am not sure what the problem is. I have attached the mem_capture.dat file that I am trying to read. I followed the instructions in Section 2 to save the memory capture. My settings were"
131072 = Length in Words = Total Size / 2 bytes per word
Total Size in Bytes = Num ADC Samples × Num RX Channels × Num Frames × Num Chirps × Num Bytes Per Sample
262144 = 256 * 2 * 1 * 1 * 128 * 4
