Revision as of 11:43, 9 February 2023 editCitation bot (talk | contribs)Bots5,406,762 edits Add: pages. Removed parameters. Some additions/deletions were parameter name changes. | Use this bot. Report bugs. | Suggested by Anas1712 | #UCB_webform 2806/3813← Previous edit | Revision as of 09:51, 29 December 2023 edit undoAndry1992 (talk | contribs)9 editsm →Examples of normalizationTag: Visual editNext edit → | ||
Line 3: | Line 3: | ||
{{mergewith|Digital frequency|date=September 2012}} --> | {{mergewith|Digital frequency|date=September 2012}} --> | ||
In ] (DSP), a '''normalized frequency''' is a ratio of a variable ] ( |
In ] (DSP), a '''normalized frequency''' is a ratio of a variable ] (<math>f</math>) and a constant frequency associated with a system (such as a '']'', <math>f_s</math>). Some software applications require normalized inputs and produce normalized outputs, which can be re-scaled to physical units when necessary. Mathematical derivations are usually done in normalized units, relevant to a wide range of applications. | ||
== Examples of normalization == | == Examples of normalization == | ||
A typical choice of characteristic frequency is the '']'' ( |
A typical choice of characteristic frequency is the '']'' (<math>f_s</math>) that is used to create the digital signal from a continuous one. The normalized quantity,<math>f' = \frac{f}{f_s}</math>, has the unit ''cycle per sample'' regardless of whether the original signal is a function of time or distance. For example, when <math>f</math> is expressed in ] (''cycles per second''), <math>f_s</math> is expressed in ''samples per second''.<ref name=Carlson/> | ||
Some programs (such as ] toolboxes) that design filters with real-valued coefficients prefer the ] ( |
Some programs (such as ] toolboxes) that design filters with real-valued coefficients prefer the ] (<math>f_s/2</math>) as the frequency reference, which changes the numeric range that represents frequencies of interest from {{math|}} ''cycle/sample'' to {{math|}} ''half-cycle/sample''. Therefore, the normalized frequency unit is obviously important when converting normalized results into physical units. | ||
] | ] | ||
A common practice is to sample the frequency spectrum of the sampled data at frequency intervals of {{ |
A common practice is to sample the frequency spectrum of the sampled data at frequency intervals of <math>\frac{f_s}{N}</math>, for some arbitrary integer {{mvar|N}} (see {{slink|Discrete-time_Fourier_transform|Sampling_the_DTFT|nopage=y}}). The samples (sometimes called frequency ''bins'') are numbered consecutively, corresponding to a frequency normalization by <math>\frac{f_s}{N}</math>.<ref name=Harris/>{{rp|p.56 eq.(16)}} The normalized Nyquist frequency is <math>\frac{N}{2}</math> with the unit {{sfrac|1|N}}<sup>th</sup> ''cycle/sample''. | ||
], denoted by {{mvar|ω}} and with the unit '']'', can be similarly normalized. When {{mvar|ω}} is normalized with reference to the sampling rate as |
], denoted by {{mvar|ω}} and with the unit '']'', can be similarly normalized. When {{mvar|ω}} is normalized with reference to the sampling rate as <math>\omega' = \frac{\omega}{f_s}</math>, the normalized Nyquist angular frequency is ''π radians/sample''. | ||
The following table shows examples of normalized frequency for |
The following table shows examples of normalized frequency for <math>f = 1\text{kHz}, f_s = 44100 \text{ samples/second}</math> (often denoted by ]), and 4 normalization conventions: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 24: | Line 24: | ||
!'''Reverse''' | !'''Reverse''' | ||
|- | |- | ||
| |
|<math>f' = \frac{f}{f_s}</math> | ||
| {{math||size=150%}} ''cycle/sample'' | | {{math||size=150%}} ''cycle/sample'' | ||
|1000 / 44100 = 0.02268 | |1000 / 44100 = 0.02268 | ||
| |
|<math>f = f' \cdot f_s</math> | ||
|- | |- | ||
| |
|<math>f' = \frac{f}{f_s / 2}</math> | ||
| ''half-cycle/sample'' | | ''half-cycle/sample'' | ||
|1000 / 22050 = 0.04535 | |1000 / 22050 = 0.04535 | ||
| |
|<math>f = f' \cdot \frac{f_s}{2}</math> | ||
|- | |- | ||
| |
|<math>f' = \frac{f}{f_s / N}</math> | ||
| {{math||size=150%}} ''bins'' | | {{math||size=150%}} ''bins'' | ||
|1000 × {{mvar|N}} / 44100 = 0.02268 {{mvar|N}} | |1000 × {{mvar|N}} / 44100 = 0.02268 {{mvar|N}} | ||
| |
|<math>f = f ' \cdot \frac{f_s}{N}</math> | ||
|- | |- | ||
|<math>\omega' = \frac{\omega}{f_s}</math> | |||
|{{math|1=''ω''{{′}} = ''ω'' / ''f''<sub>s</sub>}} | |||
| ''radians/sample'' | | ''radians/sample'' | ||
|1000 × 2π / 44100 = 0.14250 | |1000 × 2π / 44100 = 0.14250 | ||
| |
|<math>\omega = \omega' \cdot f_s</math> | ||
|} | |} | ||
Revision as of 09:51, 29 December 2023
Frequency divided by a characteristic frequencyIn digital signal processing (DSP), a normalized frequency is a ratio of a variable frequency () and a constant frequency associated with a system (such as a sampling rate, ). Some software applications require normalized inputs and produce normalized outputs, which can be re-scaled to physical units when necessary. Mathematical derivations are usually done in normalized units, relevant to a wide range of applications.
Examples of normalization
A typical choice of characteristic frequency is the sampling rate () that is used to create the digital signal from a continuous one. The normalized quantity,, has the unit cycle per sample regardless of whether the original signal is a function of time or distance. For example, when is expressed in Hz (cycles per second), is expressed in samples per second.
Some programs (such as MATLAB toolboxes) that design filters with real-valued coefficients prefer the Nyquist frequency () as the frequency reference, which changes the numeric range that represents frequencies of interest from cycle/sample to half-cycle/sample. Therefore, the normalized frequency unit is obviously important when converting normalized results into physical units.
A common practice is to sample the frequency spectrum of the sampled data at frequency intervals of , for some arbitrary integer N (see § Sampling the DTFT). The samples (sometimes called frequency bins) are numbered consecutively, corresponding to a frequency normalization by . The normalized Nyquist frequency is with the unit 1/N cycle/sample.
Angular frequency, denoted by ω and with the unit radians per second, can be similarly normalized. When ω is normalized with reference to the sampling rate as , the normalized Nyquist angular frequency is π radians/sample.
The following table shows examples of normalized frequency for (often denoted by 44.1 kHz), and 4 normalization conventions:
Quantity | Numeric range | Calculation | Reverse |
---|---|---|---|
cycle/sample | 1000 / 44100 = 0.02268 | ||
half-cycle/sample | 1000 / 22050 = 0.04535 | ||
bins | 1000 × N / 44100 = 0.02268 N | ||
radians/sample | 1000 × 2π / 44100 = 0.14250 |
See also
References
- Carlson, Gordon E. (1992). Signal and Linear System Analysis. Boston, MA: ©Houghton Mifflin Co. pp. 469, 490. ISBN 8170232384.
- Harris, Fredric J. (Jan 1978). "On the use of Windows for Harmonic Analysis with the Discrete Fourier Transform" (PDF). Proceedings of the IEEE. 66 (1): 51–83. Bibcode:1978IEEEP..66...51H. CiteSeerX 10.1.1.649.9880. doi:10.1109/PROC.1978.10837. S2CID 426548.