脈沖編碼調(diào)制(PCM)是數(shù)字通信的編碼方式之一,在通信系統(tǒng)中完成將語音信號數(shù)字化的功能。PCM的實現(xiàn)主要包括三個步驟:抽樣、量化、編碼,分別完成時間上離散、幅度上離散及量化信號的二進(jìn)制表示。
標(biāo)簽: Matlab 脈沖編碼調(diào)制 仿真程序
上傳時間: 2016-10-20
上傳用戶:1260656841
本書是一本廣受好評的Cassandra圖書。與傳統(tǒng)的關(guān)系型數(shù)據(jù)庫不同,Cassandra是一種開源的分布式存儲系統(tǒng)。書中介紹了它無中心架構(gòu)、高可用、無縫擴(kuò)展等引人注目的特點,講述了如何安裝、配置Cassandra及如何在其上運行實例,還介紹了對它的監(jiān)控、維護(hù)和性能調(diào)優(yōu)手段,同時還涉及了Cassandra相關(guān)的集成工具Hadoop及其類似的其他NoSQL數(shù)據(jù)庫。 本書適合數(shù)據(jù)庫開發(fā)人員與網(wǎng)站開發(fā)者閱讀。
標(biāo)簽: Cassandra
上傳時間: 2016-11-07
上傳用戶:rolyer
機(jī)器人操作的數(shù)學(xué)導(dǎo)論 原書名:A Mathematical Introduction To Robotic Manipula-tion 原著由美國CRC出版社于1994年出版。是關(guān)于機(jī)器人操作理論的一本專著。作者:[美]理查德.摩雷 [中]李澤湘 [美]夏恩卡.薩思特里 譯者:徐衛(wèi)良 錢瑞明 本書在綜合大量的技術(shù)文獻(xiàn)資料基礎(chǔ)上,結(jié)合作者從事的研究工作,從數(shù)學(xué)角度系統(tǒng)地論述了機(jī)器人操作的運動學(xué)、動力學(xué)、控制及運動規(guī)劃。本書內(nèi)容反映了近年來機(jī)器人領(lǐng)域的主要研究成果。本書共九章,包括緒論、剛體運動、機(jī)器人運動學(xué)、機(jī)器人動力學(xué)及控制、多指手運動學(xué)、機(jī)器人手的動力學(xué)及控制、機(jī)器人系統(tǒng)的非完整約束、非完整運動規(guī)劃和機(jī)器人操作的研究展望。第二章至第八章含有豐富的實例,并附有小結(jié)和大量的習(xí)題。本書可作為有關(guān)專業(yè)研究生的教材,也可供從事機(jī)器、自動控制等領(lǐng)域工作的科研和工程技術(shù)人員參考。
上傳時間: 2016-11-14
上傳用戶:風(fēng)塵尋真
數(shù)電課程設(shè)計 multisim 武漢理工大學(xué) 八位數(shù)字搶答器 最后完全版 1. 搶答器同時供8名選手或8個代表隊比賽,分別用8個按鈕S0 ~ S7表示。 2. 設(shè)置一個系統(tǒng)清除和搶答控制開關(guān)S,該開關(guān)由主持人控制。 3. 搶答器具有鎖存與顯示功能。即選手按動按鈕,鎖存相應(yīng)的編號,并在優(yōu)先搶答選手 的編號一直保持到主持人將系統(tǒng)清除為止。 4. 搶答器具有定時搶答功能,且一次搶答的時間由主持人設(shè)定(如,30秒)。當(dāng)主持人啟 動"開始"鍵后,定時器進(jìn)行減計時。 5. 參賽選手在設(shè)定的時間內(nèi)進(jìn)行搶答,搶答有效,定時器停止工作,顯示器上顯示選手 的編號和搶答的時間,并保持到主持人將系統(tǒng)清除為止。 6. 如果定時時間已到,無人搶答,本次搶答無效,系統(tǒng)通過一個指示燈報警并禁止搶答, 定時顯示器上顯示00。
標(biāo)簽: multisim 數(shù)字搶答器
上傳時間: 2016-11-23
上傳用戶:BertCC
“Huffman-樹”不僅能對文本數(shù)據(jù)進(jìn)行編碼、譯碼,提高文本數(shù)據(jù)的傳輸效率,同時它也能對多媒體數(shù)據(jù)(如:數(shù)字圖像、視頻等)進(jìn)行編碼、譯碼,從而實現(xiàn)多媒體數(shù)據(jù)的壓縮存儲。目前,在Web互聯(lián)網(wǎng)上廣泛使用的JPEG圖像格式就采用了Huffman編碼,與其他圖像格式(如:BMP、TIF等)相比,同一副圖像采用JPEG格式時所需的存儲空間是最少的。在這個實驗中,請設(shè)計一個Huffman編/譯碼器,并模擬數(shù)字圖像的壓縮存儲(編碼)和解碼顯示(譯碼)的過程。 (1)構(gòu)造“Huffman-樹”: ①讀入一個大小為N*M(N為圖像的高度,M為圖像的寬度)的灰度圖像塊,該圖像中的每個像素(元素)的取值范圍是0~255,取值為0表示該像素是“黑色”,取值為255表示該像素是“白色”,其他取值表示介于“黑色”和“白色”之間的灰度值。 ②統(tǒng)計讀入圖像塊中每種灰度值出現(xiàn)的次數(shù),并去除出現(xiàn)次數(shù)為零的灰度值,以此作為構(gòu)造“Huffman-樹”所需的權(quán)值。 ③說明:在構(gòu)造“Huffman-樹”的過程中,當(dāng)有多個待合并元素的權(quán)值相同時,每次選擇灰度值較小的兩個元素進(jìn)行合并。 (2)Huffman編碼(壓縮存儲):讀入新的灰度圖像塊,利用已建立好的“Huffman-樹”對其進(jìn)行編碼,將圖像的寬度、高度信息和編碼結(jié)果保存到文件(如:compress_image.txt)中,同時計算Huffman編碼的壓縮比并輸出。壓縮比的計算公式如下:壓縮比=原始圖像所需比特數(shù)/壓縮后圖像所需比特數(shù)。 (3)Huffman譯碼(解碼顯示):讀入壓縮存儲的灰度圖像,利用已建立好的“Huffman-樹”對其進(jìn)行譯碼,將譯碼結(jié)果按照原有寬度、高度還原圖像,并將還原之后的圖像保存到文件(如:decoding_image.txt)中。
標(biāo)簽: 樹
上傳時間: 2016-12-02
上傳用戶:592595
#include <stdlib.h> #include<stdio.h> #include <malloc.h> #define stack_init_size 100 #define stackincrement 10 typedef struct sqstack { int *base; int *top; int stacksize; } sqstack; int StackInit(sqstack *s) { s->base=(int *)malloc(stack_init_size *sizeof(int)); if(!s->base) return 0; s->top=s->base; s->stacksize=stack_init_size; return 1; } int Push(sqstack *s,int e) { if(s->top-s->base>=s->stacksize) { s->base=(int *)realloc(s->base,(s->stacksize+stackincrement)*sizeof(int)); if(!s->base) return 0; s->top=s->base+s->stacksize; s->stacksize+=stackincrement; } *(s->top++)=e; return e; } int Pop(sqstack *s,int e) { if(s->top==s->base) return 0; e=*--s->top; return e; } int stackempty(sqstack *s) { if(s->top==s->base) { return 1; } else { return 0; } } int conversion(sqstack *s) { int n,e=0,flag=0; printf("輸入要轉(zhuǎn)化的十進(jìn)制數(shù):\n"); scanf("%d",&n); printf("要轉(zhuǎn)化為多少進(jìn)制:\n"); scanf("%d",&flag); printf("將十進(jìn)制數(shù)%d 轉(zhuǎn)化為%d 進(jìn)制是:\n",n,flag); while(n) { Push(s,n%flag); n=n/flag; } while(!stackempty(s)) { e=Pop(s,e); switch(e) { case 10: printf("A"); break; case 11: printf("B"); break; case 12: printf("C"); break; case 13: printf("D"); break; case 14: printf("E"); break; case 15: printf("F"); break; default: printf("%d",e); } } printf("\n"); return 0; } int main() { sqstack s; StackInit(&s); conversion(&s); return 0; }
標(biāo)簽: 整數(shù) 棧 基本操作 十進(jìn)制 轉(zhuǎn)化 進(jìn)制
上傳時間: 2016-12-08
上傳用戶:愛你198
Aster 與 Betwin 為同類軟件, 在win7穩(wěn)定性上個人認(rèn)為比Betwin來得問題及好用, 此版本為x6即最高可支持6個用戶同時使用一個主機(jī),即一拖6。 已包含: 1.32位安裝包 2.64位安裝包 3.極簡安裝說明 4.漢化補(bǔ)丁 5.破解鑰匙生成器
上傳時間: 2016-12-13
上傳用戶:1592926293
#include <malloc.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define NULL 0 #define MaxSize 30 typedef struct athletestruct /*運動員*/ { char name[20]; int score; /*分?jǐn)?shù)*/ int range; /**/ int item; /*項目*/ }ATH; typedef struct schoolstruct /*學(xué)校*/ { int count; /*編號*/ int serial; /**/ int menscore; /*男選手分?jǐn)?shù)*/ int womenscore; /*女選手分?jǐn)?shù)*/ int totalscore; /*總分*/ ATH athlete[MaxSize]; /**/ struct schoolstruct *next; }SCH; int nsc,msp,wsp; int ntsp; int i,j; int overgame; int serial,range; int n; SCH *head,*pfirst,*psecond; int *phead=NULL,*pafirst=NULL,*pasecond=NULL; void create(); void input () { char answer; head = (SCH *)malloc(sizeof(SCH)); /**/ head->next = NULL; pfirst = head; answer = 'y'; while ( answer == 'y' ) { Is_Game_DoMain: printf("\nGET Top 5 when odd\nGET Top 3 when even"); printf("\n輸入運動項目序號 (x<=%d):",ntsp); scanf("%d",pafirst); overgame = *pafirst; if ( pafirst != phead ) { for ( pasecond = phead ; pasecond < pafirst ; pasecond ++ ) { if ( overgame == *pasecond ) { printf("\n這個項目已經(jīng)存在請選擇其他的數(shù)字\n"); goto Is_Game_DoMain; } } } pafirst = pafirst + 1; if ( overgame > ntsp ) { printf("\n項目不存在"); printf("\n請重新輸入"); goto Is_Game_DoMain; } switch ( overgame%2 ) { case 0: n = 3;break; case 1: n = 5;break; } for ( i = 1 ; i <= n ; i++ ) { Is_Serial_DoMain: printf("\n輸入序號 of the NO.%d (0<x<=%d): ",i,nsc); scanf("%d",&serial); if ( serial > nsc ) { printf("\n超過學(xué)校數(shù)目,請重新輸入"); goto Is_Serial_DoMain; } if ( head->next == NULL ) { create(); } psecond = head->next ; while ( psecond != NULL ) { if ( psecond->serial == serial ) { pfirst = psecond; pfirst->count = pfirst->count + 1; goto Store_Data; } else { psecond = psecond->next; } } create(); Store_Data: pfirst->athlete[pfirst->count].item = overgame; pfirst->athlete[pfirst->count].range = i; pfirst->serial = serial; printf("Input name:) : "); scanf("%s",pfirst->athlete[pfirst->count].name); } printf("\n繼續(xù)輸入運動項目(y&n)?"); answer = getchar(); printf("\n"); } } void calculate() /**/ { pfirst = head->next; while ( pfirst->next != NULL ) { for (i=1;i<=pfirst->count;i++) { if ( pfirst->athlete[i].item % 2 == 0 ) { switch (pfirst->athlete[i].range) { case 1:pfirst->athlete[i].score = 5;break; case 2:pfirst->athlete[i].score = 3;break; case 3:pfirst->athlete[i].score = 2;break; } } else { switch (pfirst->athlete[i].range) { case 1:pfirst->athlete[i].score = 7;break; case 2:pfirst->athlete[i].score = 5;break; case 3:pfirst->athlete[i].score = 3;break; case 4:pfirst->athlete[i].score = 2;break; case 5:pfirst->athlete[i].score = 1;break; } } if ( pfirst->athlete[i].item <=msp ) { pfirst->menscore = pfirst->menscore + pfirst->athlete[i].score; } else { pfirst->womenscore = pfirst->womenscore + pfirst->athlete[i].score; } } pfirst->totalscore = pfirst->menscore + pfirst->womenscore; pfirst = pfirst->next; } } void output() { pfirst = head->next; psecond = head->next; while ( pfirst->next != NULL ) { // clrscr(); printf("\n第%d號學(xué)校的結(jié)果成績:",pfirst->serial); printf("\n\n項目的數(shù)目\t學(xué)校的名字\t分?jǐn)?shù)"); for (i=1;i<=ntsp;i++) { for (j=1;j<=pfirst->count;j++) { if ( pfirst->athlete[j].item == i ) { printf("\n %d\t\t\t\t\t\t%s\n %d",i,pfirst->athlete[j].name,pfirst->athlete[j].score);break; } } } printf("\n\n\n\t\t\t\t\t\t按任意建 進(jìn)入下一頁"); getchar(); pfirst = pfirst->next; } // clrscr(); printf("\n運動會結(jié)果:\n\n學(xué)校編號\t男運動員成績\t女運動員成績\t總分"); pfirst = head->next; while ( pfirst->next != NULL ) { printf("\n %d\t\t %d\t\t %d\t\t %d",pfirst->serial,pfirst->menscore,pfirst->womenscore,pfirst->totalscore); pfirst = pfirst->next; } printf("\n\n\n\t\t\t\t\t\t\t按任意建結(jié)束"); getchar(); } void create() { pfirst = (struct schoolstruct *)malloc(sizeof(struct schoolstruct)); pfirst->next = head->next ; head->next = pfirst ; pfirst->count = 1; pfirst->menscore = 0; pfirst->womenscore = 0; pfirst->totalscore = 0; } void Save() {FILE *fp; if((fp = fopen("school.dat","wb"))==NULL) {printf("can't open school.dat\n"); fclose(fp); return; } fwrite(pfirst,sizeof(SCH),10,fp); fclose(fp); printf("文件已經(jīng)成功保存\n"); } void main() { system("cls"); printf("\n\t\t\t 運動會分?jǐn)?shù)統(tǒng)計\n"); printf("輸入學(xué)校數(shù)目 (x>= 5):"); scanf("%d",&nsc); printf("輸入男選手的項目(x<=20):"); scanf("%d",&msp); printf("輸入女選手項目(<=20):"); scanf("%d",&wsp); ntsp = msp + wsp; phead = (int *)calloc(ntsp,sizeof(int)); pafirst = phead; pasecond = phead; input(); calculate(); output(); Save(); }
標(biāo)簽: 源代碼
上傳時間: 2016-12-28
上傳用戶:150501
三種SMA接口pcb封裝 捕獲1.PNG (16.1 KB, 下載次數(shù): 86) 捕獲2.PNG (17.35 KB, 下載次數(shù): 39) 捕獲3.PNG (19.16 KB, 下載次數(shù): 37)
上傳時間: 2017-03-06
上傳用戶:qjjjjwqvc
符合《汽車動力蓄電池行業(yè)規(guī)范條件》企業(yè)目錄(第四批) 電池技術(shù)目錄,第1-4批
上傳時間: 2017-03-07
上傳用戶:cszgame
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1