From 76177aa280494bb36d7a0bcbda1078d4db717020 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Mon, 9 Dec 2019 11:25:19 +0100 Subject: Official ARM version: v4.5 --- .../DSP/html/group___sin_cos_example.html | 152 +++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 Documentation/DSP/html/group___sin_cos_example.html (limited to 'Documentation/DSP/html/group___sin_cos_example.html') diff --git a/Documentation/DSP/html/group___sin_cos_example.html b/Documentation/DSP/html/group___sin_cos_example.html new file mode 100644 index 0000000..2bc6c53 --- /dev/null +++ b/Documentation/DSP/html/group___sin_cos_example.html @@ -0,0 +1,152 @@ + + + + + +SineCosine Example +CMSIS-DSP: SineCosine Example + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DSP +  Version 1.4.7 +
+
CMSIS DSP Software Library
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
SineCosine Example
+
+
+
Description:
+
Demonstrates the Pythagorean trignometric identity with the use of Cosine, Sine, Vector Multiplication, and Vector Addition functions.
+
Algorithm:
+
Mathematically, the Pythagorean trignometric identity is defined by the following equation:
sin(x) * sin(x) + cos(x) * cos(x) = 1
where x is the angle in radians.
+
Block Diagram:
+
+sinCos.gif +
+
+
Variables Description:
+
    +
  • testInput_f32 array of input angle in radians
  • +
  • testOutput stores sum of the squares of sine and cosine values of input angle
  • +
+
+
CMSIS DSP Software Library Functions Used:
+
+
+

Refer arm_sin_cos_example_f32.c

+
+
+ + + + -- cgit