# Thread: Distance2go recorded data and Matlab

1. ## Distance2go recorded data and Matlab

I've been playing with a Distance2go board, and would like to process data through Matlab.
When I record data I can read it into Matlab, but then I'm not sure what I'm looking at!

For example, if I record Time domain data, the help file says its I and Q signals, but the data recorded as a string of complex numbers, so I'm not sure how this relates to time domain data

Can anyone explain this, maybe with an example of how to process it?

2. If you want to work with the IQ data then you need to do FFT and further calculations to get the range to a target. In general, I data is the real part and Q data is the imaginary part.

You don't need to record the data with the Radar GUI and process it in MATLAB afterwards. You can also work with the IQ data there, see the demo MATLAB file for more information. This file also has the ability to do all the calculations internally (via the microcontroller firmware) so you can work directly with the target information like range and level e.g.

I guess I'm not as advanced as that as I still don;t know exactly what the IQ data represents in this case. Can you explain what I would have to do to get anything useful from the IQ data.
I understand that the I is real and the Q is imaginary, but I don't understand what its representing. They can be the two parts of a modulation scheme but this requires a fixed frequency term to apply to the I and Q to get the modulated carrier. I was expecting to see IF data against time, where the IF is the frequency difference between the transmitted carrier and the received carrier.

So in short, what is the general principle needed to get something useful out of the IQ data such as range, and what actually does the IQ data represent in this case?

Can you tell me where to get the Matlab file from so I can have a look at what it is doing (sorry if its a stupid question!)

4. Found the Matlab file (it was a stupid question)

#### Bookmarks

##### Bookmarks
Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.