info
Characteristic information about generated signal
Syntax
Description
Examples
Obtain the Characteristic Information of the NCO Object
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' Use get to 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
nco
— Numerically controlled oscillator
dsp.NCO
System object
dsp.NCO
System objectNumerically controlled oscillator, specified as a dsp.NCO
System object.
Output Arguments
S
— Characteristic information about signal
structure
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.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- 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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)