info
Characteristic information about generated signal
Syntax
Description
Examples
The characteristic information of the NCO object is defined by the following fields:
NumPointsLUT— Number of data points in the lookup table.SineLUTSize— Quarter-wave sine lookup table size in bytes.TheoreticalSFDR— Theoretical spurious free dynamic range (SFDR) in dBc.FrequencyResolution— Frequency resolution of theNCO.
To obtain the above characteristics for a specific NCO object, call the info function on the object.
nco = dsp.NCO
nco =
dsp.NCO with properties:
PhaseIncrementSource: 'Input port'
PhaseOffsetSource: 'Property'
PhaseOffset: 0
Dither: true
NumDitherBits: 4
PhaseQuantization: true
NumQuantizerAccumulatorBits: 12
PhaseQuantizationErrorOutputPort: false
Waveform: 'Sine'
SamplesPerFrame: 1
OutputDataType: 'Custom'
Show all properties
info(nco)
ans = struct with fields:
NumPointsLUT: 1025
SineLUTSize: 2050
TheoreticalSFDR: 84
FrequencyResolution: 1.5259e-05
The fields and their corresponding values change depending on the settings of the object. For instance, if the PhaseQuantization property is set to false, the TheoreticalSFDR field does not appear.
nco.PhaseQuantization = false; info(nco)
ans = struct with fields:
NumPointsLUT: 16385
SineLUTSize: 32770
FrequencyResolution: 1.5259e-05
Input Arguments
Numerically controlled oscillator, specified as a dsp.NCO
System object.
Output Arguments
Characteristic information about the dsp.NCO
System object, returned as a structure, S. The number of fields of
S and their values vary depending on the property value settings
of nco. The possible fields and their values are:
| Field | Value |
|---|---|
NumPointsLUT | Number of data points for lookup table. The lookup table is implemented as a quarter-wave sine table. |
SineLUTSize | Quarter-wave sine lookup table size in bytes. |
TheoreticalSFDR | Theoretical spurious free dynamic range (SFDR) in dBc. This field applies
when you set the PhaseQuantization property
to true. |
FrequencyResolution | Frequency resolution of the NCO in Hz. The sample time
of the output signal is assumed to be 1 second. |
Data Types: struct
Version History
Introduced in R2012a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)