pcm 레포트 및 보고서
- 최초 등록일
- 2009.03.14
- 최종 저작일
- 2008.10
- 10페이지/ 한컴오피스
- 가격 1,500원
소개글
잘 쓰세요
목차
1.PCM 코드
2.Matlab simulation.
3.결론.
본문내용
1.PCM 코드
#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#define pi 3.14
#define DN 10000
int main(void)
{
FILE* file_Y;
FILE* file_X;
double x,y;
double data[70000]; //data
double data_S[DN]; //sampling
double data_DS[DN]; //decoding sampling
int data_Q[DN]; //encoding quatization
int data_B[4][DN]={{0},{0},{0}}; // for binary
int data_DQ[DN]; //decoding quatization
int i=0,k=0,j=0,p=0;
int a,b,q,w,e,r;
2.Matlab simulation.
기본적으로 2*sine signal에서 1000개의 데이터를 추출 하여(즉 1000도까지 약 2.7주기), 각 sampling frame 값을 1개 (1000개를 그대로 사용),5개, 10개, 20개,30개,50개 순으로 변화를 준 matlab을 통해 결과를 simulation 해 보았다.
참고 자료
없음