Microchip PIC32AK3208GC41064 handleiding

76 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 20 van 76
Window Funcons
User Guide
© 2025 Microchip Technology Inc. and its subsidiaries
DS70005605A - 20
3. Window Funcons
Function Description
BartlettInit Initializes a Barlett window of length numElems.
BlackmanInit Initializes a Blackman (three terms) window of length numElems.
HammingInit Initializes a Hamming window of length numElems.
HanningInit Initializes a Hanning window of length numElems.
KaiserInit Initializes a Kaiser window with shape determined by argument betaVal and of length
numElems.
VectorWindow Applies a window to a given source vector and stores the resulting windowed vector in a
destination vector.
3.1. Window Operaons
A window is a vector with a specic value distribution within its domain (0 ≤ n < numElems). The
particular value distribution depends on the characteristics of the window being generated.
Given a vector, its value distribution may be modied by applying a window to it. In these cases, the
window must have the same number of elements as the vector to modify.
Before a vector can be windowed, the window must be created. Window initialization operations
are provided which generate the values of the window elements. For higher numerical precision,
these values are computed in oating-point arithmetic, and the resulting quantities are stored as
1.31 fractionals.
To avoid excessive overhead when applying a window operation, a particular window could be
generated once and used many times during the execution of the program. Thus, it is advisable to
store the window returned by any of the initialization operations in a permanent (static) vector.
3.2. User Consideraons
When using window functions, consider the following:
1. All the window initialization functions have been designed to generate window vectors allocated
in the default RAM memory space (X-Data or Y-Data).
2. The window function is designed to operate on vectors allocated in the default RAM memory
space (X-Data or Y-Data).
3. It is recommended that the STATUS Register (SR) be examined after completion of each function
call.
3.3. Funcons
3.3.1. BartleInit
Description
BartlettInitinitializes a Barlett window of length numElems.
Prototype
fractional* BartlettInit(int numElems, fractional* window);
Arguments
Parameters Description
numElems
Number of rows in the source matrices.

Bekijk gratis de handleiding van Microchip PIC32AK3208GC41064, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkMicrochip
ModelPIC32AK3208GC41064
CategorieNiet gecategoriseerd
TaalNederlands
Grootte11302 MB