This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Build S1G PPDU

Build S1G PPDUs by using the waveform generator function.

Waveform Generator

Create an S1G configuration object.

s1g = wlanS1GConfig;

Generate the S1G PPDU. The length of the input data sequence in bits must be 8 times the length of the PSDU, which is expressed in bytes. Turn off windowing.

x = randi([0 1],s1g.PSDULength*8,1);
y = wlanWaveformGenerator(x,s1g,'WindowTransitionTime',0);

Plot the magnitude of the waveform.

t = ((1:length(y))'-1)/80e6;
xlabel('Time (s)')
ylabel('Magnitude (V)')

See Also

| | |