From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/DSP/html/group__LinearInterpExample.html | 158 ++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 docs/DSP/html/group__LinearInterpExample.html (limited to 'docs/DSP/html/group__LinearInterpExample.html') diff --git a/docs/DSP/html/group__LinearInterpExample.html b/docs/DSP/html/group__LinearInterpExample.html new file mode 100644 index 0000000..428d06f --- /dev/null +++ b/docs/DSP/html/group__LinearInterpExample.html @@ -0,0 +1,158 @@ + + + + + +Linear Interpolate Example +CMSIS-DSP: Linear Interpolate Example + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DSP +  Version 1.5.2 +
+
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