R&S FSW-K7 User Manual page 386

Analog demodulation measurement option
Table of Contents

Advertisement

®
R&S
FSW-K7
Example: Element order for complex cartesian data (3 channels)
Complex data: I[channel no][time index], Q[channel no][time index]
I[0][0], Q[0][0],
I[1][0], Q[1][0],
I[2][0], Q[2][0],
I[0][1], Q[0][1],
I[1][1], Q[1][1],
I[2][1], Q[2][1],
I[0][2], Q[0][2],
I[1][2], Q[1][2],
I[2][2], Q[2][2],
...
Example: Element order for complex cartesian data (1 channel)
This example demonstrates how to store complex cartesian data in float32 format
using MATLAB
% Save vector of complex cartesian I/Q data, i.e. iqiqiq...
N = 100
iq = randn(1,N)+1j*randn(1,N)
fid = fopen('xyz.complex.float32','w');
for k=1:length(iq)
fwrite(fid,single(real(iq(k))),'float32');
fwrite(fid,single(imag(iq(k))),'float32');
end
fclose(fid)
User Manual 1173.9240.02 ─ 23
// Channel 0, Complex sample 0
// Channel 1, Complex sample 0
// Channel 2, Complex sample 0
// Channel 0, Complex sample 1
// Channel 1, Complex sample 1
// Channel 2, Complex sample 1
// Channel 0, Complex sample 2
// Channel 1, Complex sample 2
// Channel 2, Complex sample 2
®
.
Reference
I/Q Data File Format (iq-tar)
386

Advertisement

Table of Contents
loading

Table of Contents