用于单片机的DSP算法库(查找、排序、复数、向量、矩阵、滤波、统计)
大多数电子产品里面跑的还是MCU而不是DSP,由于经常要作一些信号处理,所以把一些通用算法做成模块,成本比DSP低了很多,效率上DSP没有乘法硬件也只是提供汇编库,这里所有操作用指针代替。
查找与排序
http://www.math86a.icoc.cc/nd.jsp?id=8&moduleId=3&fromColId=4
复数
http://www.math86a.icoc.cc/nd.jsp?id=9&moduleId=3&fromColId=4
向量与矩阵
http://www.math86a.icoc.cc/nd.jsp?id=10&moduleId=3&fromColId=4
滤波与统计
http://www.math86a.icoc.cc/nd.jsp?id=11&moduleId=3&fromColId=4
/*********************************************************************
++++++++++++++Copyright Math86A++++++++++++++
Numerical Recipes and Digital Signal Processing
Url: http://www.math86a.icoc.cc
Tel: 13522447534
Email: [email protected]
h_sorts
This program is include some basic algorithm of find and sort.
Contain: sequence find,
binary find,
insert sort,
shell sort,
select sort,
heap sort,
bubble sort,
quick sort,
merge sort,
a random quick sort,
system quick sort.
Author: huang zhen jiang
Date: 2012 / 08 / 10
*********************************************************************/
/*************************************************************
++++++++++++++Copyright Math86A++++++++++++++
Numerical Recipes and Digital Signal Processing
Url: http://www.math86a.icoc.cc
Tel: 13522447534
Email: [email protected]
h_fcomplex
This program is include some basic calculate of complex.
Contain: create one complex,
complex addition,
complex substruction,
complex multiplication,
complex division,
complex's conjg,
complex's mod,