Analog Devices VISUALDSP++ 3.5 Manual page 488

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

DSP Run-Time Library Reference
gen_triangle
generate triangle window
Synopsis
#include <window.h>
void gen_triangle_fr16(w,a,N)
fract16 w[];
int a;
int N;
Description
This function generates a vector containing the Triangle window. The
length of the window required is specified by the parameter
stride parameter
vector
.
w
Refer to the Bartlett window
between it and the Triangle window.
Algorithm
For even
, the following equation applies:
n
+
2
n
N
[ ] =
w n
2
N
2
N
where n = {0, 1, 2, ..., N-1}
4-72
/* Window vector
/* Address stride in samples for window vector */
/* Length of window vector
is used to space the window values within the output
a
(on page
1
<
n
N
2
n
1
>
n
N
2
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
4-63) regarding the relationship
for ADSP-219x DSPs
*/
*/
, and the
N

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents