wlanSampleRate

Return nominal sample rate

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