RK3288 DDR 支持列表,For MID、OTT 等設備。
上傳時間: 2016-06-17
上傳用戶:dspdev
1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.) #include<stdio.h> #include<stdlib.h> void merge(int arr[],int low,int mid,int high){ int i,k; int *tmp=(int*)malloc((high-low+1)*sizeof(int)); int left_low=low; int left_high=mid; int right_low=mid+1; int right_high=high; for(k=0;left_low<=left_high&&right_low<=right_high;k++) { if(arr[left_low]<=arr[right_low]){ tmp[k]=arr[left_low++]; } else{ tmp[k]=arr[right_low++]; } } if(left_low<=left_high){ for(i=left_low;i<=left_high;i++){ tmp[k++]=arr[i]; } } if(right_low<=right_high){ for(i=right_low;i<=right_high;i++) tmp[k++]=arr[i]; } for(i=0;i<high-low+1;i++) arr[low+i]=tmp[i]; } void merge_sort(int a[],int p,int r){ int q; if(p<r){ q=(p+r)/2; merge_sort(a,p,q); merge_sort(a,q+1,r); merge(a,p,q,r); } } int main(){ int a[8]={3,5,8,6,4,1,1}; int i,j; int x=10; merge_sort(a,0,6); printf("after Merging-Sort:\n"); for(i=0;i<7;i++){ printf("%d",a[i]); } printf("\n"); i=0;j=6; do{ if(a[i]+a[j]==x){ printf("exist"); break; } if(a[i]+a[j]>x) j--; if(a[i]+a[j]<x) i++; }while(i<=j); if(i>j) printf("not exist"); system("pause"); return 0; }
上傳時間: 2017-04-01
上傳用戶:糖兒水嘻嘻
Received: from mail.creditcard.cmbc.com.cn (unknown [111.205.122.39]) by newmx82.qq.com (NewMx) with SMTP id for <714620454@QQ.COM>; Fri, 20 Oct 2017 03:56:09 +0800 X-QQ-FEAT: nHaaMjwLeTyzuDp5C5V++RVfPHSVEqOujK0vwZroSro= X-QQ-MAILINFO: MjJD59SVx+LnQ1oU2sDuZ8tZJyZAOGTJaybWFAYRjurknrZoc6gjmnU06 o+pkiTJsdtxgA5CmtpN2ggrWb/T2GoG07QFXqgJtIk+5X1iaz4UykQ9M2a782+Fdn83doxC 4Ej1t99JoZcj8dDkeM5dzZTSR8uZGwHEnIK9Uim+NcaroB2EUWgclSmSzIxUHIbJ1nTLA8G B4/wa X-QQ-mid: mx82t1508442969ti70kc84u X-QQ-ORGSender: master@creditcard.cmbc.com.cn Received: from sedm([195.203.59.13]) by mail.creditcard.cmbc.com.cn(1.0) with SMTP id sedm587; Thu, 19 Oct 2017 17:48:11 +0800 Date:Thu, 19 Oct 2017 17:48:11 +0800 (CST) Message-ID:<0305-euid-31911508406491578> To:=?gbk?B?zsTS1SDFrsq/?=<714620454@QQ.COM> From:master<master@creditcard.cmbc.com.cn> Subject: =?gbk?B?w/HJ+tDF08O/qDIwMTfE6jEw1MK159fTttTVy7Wl?= X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: multipart/related; boundary="****MAIN_BOUNDARY****2727BD00F7949069C75FEDD44F1F2988" This is a multi-part message in MIME format. --****MAIN_BOUNDARY****2727BD00F7949069C75FEDD44F1F2988 Content-Type: multipart/alternative; boundary="****SUB_BOUNDARY****2727BD00F7949069C75FEDD44F1F2988" --****SUB_BOUNDARY****2727BD00F7949069C75FEDD44F1F2988 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: base64
標簽: 源代碼
上傳時間: 2017-11-17
上傳用戶:wendingchang
Employing multiple transmit and receive antennas, namely using multi-input multi-output (MIMO) systems, has proven to be a major breakthrough in providing reliable wireless communication links. Since their invention in the mid-1990s, transmit diversity, achieved through space-time coding, and spatial multiplexing schemes have been the focus of much research in the area of wireless communications.
標簽: Communication Systems Coding MIMO for
上傳時間: 2020-05-26
上傳用戶:shancjb
Optical communication technology has been extensively developed over the last 50 years, since the proposed idea by Kao and Hockham [1]. However, only during the last 15 years have the concepts of communication foundation, that is, the modulation and demodulation techniques, been applied. This is pos- sible due to processing signals using real and imaginary components in the baseband in the digital domain. The baseband signals can be recovered from the optical passband region using polarization and phase diversity tech- niques, as well as technology that was developed in the mid-1980s.
標簽: Transmission Processing Digital Optical
上傳時間: 2020-05-27
上傳用戶:shancjb
Until the mid-1990s most readers would probably not have even come across the term soft- ware defined radio (SDR), let alone had an idea what it referred to. Since then SDR has made the transition from obscurity to mainstream, albeit still with many different understandings of the terms – software radio, software defined radio, software based radio, reconfigurable radio.
上傳時間: 2020-06-01
上傳用戶:shancjb
The advent of modern wireless devices, such as smart phones and MID 1 terminals, has revolutionized the way people think of personal connectivity. Such devices encompass multiple applications ranging from voice and video to high-speed data transfer via wireless networks. The voracious appetite of twenty-first century users for supporting more wireless applications on a single device is ever increasing. These devices employ multiple radios and modems that cover multiple frequency bands and multiple standards with a manifold of wireless applications often running simultaneously.
標簽: Architectures Wireless Receiver Design and
上傳時間: 2020-06-01
上傳用戶:shancjb
I can remember buying my first electronic calculator. I was teaching a graduate level statistics course and I had to have a calculator with a square root function. Back in the late 1960s, that was a pretty high-end requirement for a calculator. I managed to purchase one at the “educational discount price” of $149.95! Now, I look down at my desk at an ATmega2560 that is half the size for less than a quarter of the cost and think of all the possibilities built into that piece of hardware. I am amazed by what has happened to everything from toasters to car engines. Who-da-thunk-it 40 years ago?
上傳時間: 2020-06-09
上傳用戶:shancjb
This package implements the following Kalman filters: 1) Standard Kalman Filter 2) Extended Kalman Filter 3) Dual Kalman Filter 4) Square Root Kalman Filter This package also contains instructive examples for each filter type demonstrating their practical application.
標簽: Kalman_Filter
上傳時間: 2021-09-19
上傳用戶:boboo
spi 通信的master部分使用的verilog語言實現,可以做為你的設計參考。module spi_master(rstb,clk,mlb,start,tdat,cdiv,din, ss,sck,dout,done,rdata); input rstb,clk,mlb,start; input [7:0] tdat; //transmit data input [1:0] cdiv; //clock divider input din; output reg ss; output reg sck; output reg dout; output reg done; output reg [7:0] rdata; //received dataparameter idle=2'b00; parameter send=2'b10; parameter finish=2'b11; reg [1:0] cur,nxt; reg [7:0] treg,rreg; reg [3:0] nbit; reg [4:0] mid,cnt; reg shift,clr;
上傳時間: 2022-02-03
上傳用戶: