Coder Social home page Coder Social logo

cmsis-dsp-gcc's Introduction

this is ARM CMSIS-DSP run on gcc

The purpose of this application is to use ARM-cmsis-DSP on non-ARM processors.

To use the examples of this repository, it is necessary to go to the desired folder and run the make command

cd  arm_matrix_example
make build
make run

In the gcc_fir_gnuplot folder, there is a Python notebook file that simulate the FIR filter by used to cmsis_dsp wrapper and the C++ code to use the cmsis_dsp library is available. We need to install Anaconda for Python execution library or use google colab for run python notebook.

And to run the C++ program, we need to install GNU Plot. for install gnuplot on debian machine, please run this commnad

sudo apt install gnuplot

finally, when execute command make build and make run on gcc_fir_gnuplot folder, so show this image:

ARM_CMSIS_DSP_FIR_Cpp

it is to similar scipy FIR and cmsis-dsp wrapper output in the notebook file

ARM_CMSIS_DSP_FIR_python

finally we can check bot mean and variance on jupyter notebook and c++

for python notebook:

sin noisy mean:  0.0
sin noisy var:  0.51948
fir mean:  0.010776961394674657
fir var:  0.465838732679487

for C++

Mean SIN: -0.00129333
Variance SIN: 0.520287
Mean FIR: 0.0116191
Variance FIR: 0.460044

cmsis-dsp-gcc's People

Contributors

dannyravi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.