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.

wlanSampleRate

Return nominal sample rate

Syntax

fs = wlanSampleRate(cfgFormat)

Description

example

fs = wlanSampleRate(cfgFormat) returns fs, the nominal sample rate for specified format configuration object cfgFormat.

Examples

collapse all

Get the sample rate for a very-high-throughput-format (VHT-format) configuration in samples per second.

cfgVHT = wlanVHTConfig;
fs = wlanSampleRate(cfgVHT);
disp(fs)
    80000000

Input Arguments

collapse all

Packet format configuration, specified as one of these configuration objects: wlanHESUConfig, wlanHEMUConfig, wlanHERecoveryConfig, wlanDMGConfig, wlanS1GConfig, wlanVHTConfig, wlanHTConfig, or wlanNonHTConfig. The cfgFormat input determines the nominal sample rate.

Output Arguments

collapse all

Sample rate, in samples per second, returned as a scalar.

Introduced in R2017b