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___linear_interp_example.html | 158 +++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 Documentation/DSP/html/group___linear_interp_example.html (limited to 'Documentation/DSP/html/group___linear_interp_example.html') diff --git a/Documentation/DSP/html/group___linear_interp_example.html b/Documentation/DSP/html/group___linear_interp_example.html new file mode 100644 index 0000000..2609270 --- /dev/null +++ b/Documentation/DSP/html/group___linear_interp_example.html @@ -0,0 +1,158 @@ + + + + + +Linear Interpolate Example +CMSIS-DSP: Linear Interpolate Example + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DSP +  Version 1.4.7 +
+
CMSIS DSP Software Library
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Linear Interpolate Example
+
+
+

CMSIS DSP Software Library – Linear Interpolate Example

+

Description This example demonstrates usage of linear interpolate modules and fast math modules. Method 1 uses fast math sine function to calculate sine values using cubic interpolation and method 2 uses linear interpolation function and results are compared to reference output. Example shows linear interpolation function can be used to get higher precision compared to fast math sin calculation.

+
Block Diagram:
+
+linearInterpExampleMethod1.gif +
+Method 1: Sine caluclation using fast math
+
+
+linearInterpExampleMethod2.gif +
+Method 2: Sine caluclation using interpolation function
+
+
Variables Description:
+
    +
  • testInputSin_f32 points to the input values for sine calculation
  • +
  • testRefSinOutput32_f32 points to the reference values caculated from sin() matlab function
  • +
  • testOutput points to output buffer calculation from cubic interpolation
  • +
  • testLinIntOutput points to output buffer calculation from linear interpolation
  • +
  • snr1 Signal to noise ratio for reference and cubic interpolation output
  • +
  • snr2 Signal to noise ratio for reference and linear interpolation output
  • +
+
+
CMSIS DSP Software Library Functions Used:
+
+
+

Refer arm_linear_interp_example_f32.c

+
+
+ + + + -- cgit