- 博客(4)
- 收藏
- 关注
原创 DSP Study Notes Period 1
microprocessor(μ\muP,mp) Central Dvice of a multi chip Micro Computer System Two basic architectures: ”von Neumann”-Architecture Shared memory space between code and data Shared memory busses betw
2016-03-02 23:14:32
447
原创 一般信道容量的计算
#include<stdio.h> #include<math.h> #define MAX 9 int main() { /*定义数组及中间变量*/ double fun(int n,double g[MAX][MAX]); double b[MAX]={0},d[MAX]={0},t[MAX][MAX]={{0}},g[MAX]={0},h[MAX]={{0}};
2016-02-23 22:01:20
6901
原创 Shannoncoding (一)信源符号的排序
#include<stdio.h> int main() int i=0,j=0,m=0,n=0; int b[150][150]={{0}}; //该二维数组用来存储信源符号及其出现的次数 char input; /*输入信源符号并累加其次数*/ while((input=getchar())!='\n') { for(i=65;i<=122;i++) if(input==i) b[i][i
2016-02-23 21:43:09
630
原创 ?十进制/二进制转换(C语言)
方法1:#include<stdio.h> int DtoB(int a) { int i,j=a,m=0; int s[100]; while(j>=0) { i=j%2; j=j/2 s[m]=i; //将每位二进制值存入数组 m++; } while(m--) //倒序输出数组值,即转换后
2016-02-23 15:10:57
1072
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人