EasyManua.ls Logo

Rohde & Schwarz FSWP Series - Page 159

Rohde & Schwarz FSWP Series
167 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Annex: Reference
R&S
®
FSWP
159User Manual 1177.5856.02 ─ 07
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], // Channel 0, Complex sample 0
I[1][0], Q[1][0], // Channel 1, Complex sample 0
I[2][0], Q[2][0], // Channel 2, Complex sample 0
I[0][1], Q[0][1], // Channel 0, Complex sample 1
I[1][1], Q[1][1], // Channel 1, Complex sample 1
I[2][1], Q[2][1], // Channel 2, Complex sample 1
I[0][2], Q[0][2], // Channel 0, Complex sample 2
I[1][2], Q[1][2], // Channel 1, Complex sample 2
I[2][2], Q[2][2], // Channel 2, Complex sample 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)
I/Q Data File Format (iq-tar)

Table of Contents

Other manuals for Rohde & Schwarz FSWP Series

Related product manuals