亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

半導(dǎo)體<b>激光</b>器

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    標(biāo)簽: represented integers group items

    上傳時(shí)間: 2016-01-17

    上傳用戶:jeffery

  • The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

    The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).

    標(biāo)簽: converts Toolbox complex logical

    上傳時(shí)間: 2016-02-12

    上傳用戶:a673761058

  • 漢諾塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation

    漢諾塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C

    標(biāo)簽: the animation Simulate movement

    上傳時(shí)間: 2017-02-11

    上傳用戶:waizhang

  • 將魔王的語言抽象為人類的語言:魔王語言由以下兩種規(guī)則由人的語言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1 設(shè)大寫字母表示魔王的語言

    將魔王的語言抽象為人類的語言:魔王語言由以下兩種規(guī)則由人的語言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1 設(shè)大寫字母表示魔王的語言,小寫字母表示人的語言B-〉tAdA,A-〉sae,eg:B(ehnxgz)B解釋為tsaedsaeezegexenehetsaedsae對(duì)應(yīng)的話是:“天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝”。(t-天d-地s-上a-一只e-鵝z-追g-趕x-下n-蛋h-恨)

    標(biāo)簽: 語言 抽象 字母

    上傳時(shí)間: 2013-12-19

    上傳用戶:aix008

  • 【問題描述】 在一個(gè)N*N的點(diǎn)陣中

    【問題描述】 在一個(gè)N*N的點(diǎn)陣中,如N=4,你現(xiàn)在站在(1,1),出口在(4,4)。你可以通過上、下、左、右四種移動(dòng)方法,在迷宮內(nèi)行走,但是同一個(gè)位置不可以訪問兩次,亦不可以越界。表格最上面的一行加黑數(shù)字A[1..4]分別表示迷宮第I列中需要訪問并僅可以訪問的格子數(shù)。右邊一行加下劃線數(shù)字B[1..4]則表示迷宮第I行需要訪問并僅可以訪問的格子數(shù)。如圖中帶括號(hào)紅色數(shù)字就是一條符合條件的路線。 給定N,A[1..N] B[1..N]。輸出一條符合條件的路線,若無解,輸出NO ANSWER。(使用U,D,L,R分別表示上、下、左、右。) 2 2 1 2 (4,4) 1 (2,3) (3,3) (4,3) 3 (1,2) (2,2) 2 (1,1) 1 【輸入格式】 第一行是數(shù)m (n < 6 )。第二行有n個(gè)數(shù),表示a[1]..a[n]。第三行有n個(gè)數(shù),表示b[1]..b[n]。 【輸出格式】 僅有一行。若有解則輸出一條可行路線,否則輸出“NO ANSWER”。

    標(biāo)簽: 點(diǎn)陣

    上傳時(shí)間: 2014-06-21

    上傳用戶:llandlu

  • 離散實(shí)驗(yàn) 一個(gè)包的傳遞 用warshall

     實(shí)驗(yàn)源代碼 //Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("請(qǐng)輸入矩陣第%d 行元素:",a); for(int b=0;b<n;b++) { scanf ("%d",&temp[a][b]); } } for(i=0;i<k;i++){ for( j=0;j<k;j++){ if(temp[ j][i]==1) { for(t=0;t<n;t++) { temp[ j][t]=temp[i][t]||temp[ j][t]; } } } } printf("可傳遞閉包關(guān)系矩陣是:\n"); for(i=0;i<k;i++) { for( j=0;j<n;j++) { printf("%d", temp[i][ j]); } printf("\n"); } } void main() { printf("利用 Warshall 算法求二元關(guān)系的可傳遞閉包\n"); void warshall(int,int); int k , n; printf("請(qǐng)輸入矩陣的行數(shù) i: "); scanf("%d",&k); 四川大學(xué)實(shí)驗(yàn)報(bào)告 printf("請(qǐng)輸入矩陣的列數(shù) j: "); scanf("%d",&n); warshall(k,n); } 

    標(biāo)簽: warshall 離散 實(shí)驗(yàn)

    上傳時(shí)間: 2016-06-27

    上傳用戶:梁雪文以

  • 道理特分解法

    #include "iostream" using namespace std; class Matrix { private: double** A; //矩陣A double *b; //向量b public: int size; Matrix(int ); ~Matrix(); friend double* Dooli(Matrix& ); void Input(); void Disp(); }; Matrix::Matrix(int x) { size=x; //為向量b分配空間并初始化為0 b=new double [x]; for(int j=0;j<x;j++) b[j]=0; //為向量A分配空間并初始化為0 A=new double* [x]; for(int i=0;i<x;i++) A[i]=new double [x]; for(int m=0;m<x;m++) for(int n=0;n<x;n++) A[m][n]=0; } Matrix::~Matrix() { cout<<"正在析構(gòu)中~~~~"<<endl; delete b; for(int i=0;i<size;i++) delete A[i]; delete A; } void Matrix::Disp() { for(int i=0;i<size;i++) { for(int j=0;j<size;j++) cout<<A[i][j]<<" "; cout<<endl; } } void Matrix::Input() { cout<<"請(qǐng)輸入A:"<<endl; for(int i=0;i<size;i++) for(int j=0;j<size;j++){ cout<<"第"<<i+1<<"行"<<"第"<<j+1<<"列:"<<endl; cin>>A[i][j]; } cout<<"請(qǐng)輸入b:"<<endl; for(int j=0;j<size;j++){ cout<<"第"<<j+1<<"個(gè):"<<endl; cin>>b[j]; } } double* Dooli(Matrix& A) { double *Xn=new double [A.size]; Matrix L(A.size),U(A.size); //分別求得U,L的第一行與第一列 for(int i=0;i<A.size;i++) U.A[0][i]=A.A[0][i]; for(int j=1;j<A.size;j++) L.A[j][0]=A.A[j][0]/U.A[0][0]; //分別求得U,L的第r行,第r列 double temp1=0,temp2=0; for(int r=1;r<A.size;r++){ //U for(int i=r;i<A.size;i++){ for(int k=0;k<r-1;k++) temp1=temp1+L.A[r][k]*U.A[k][i]; U.A[r][i]=A.A[r][i]-temp1; } //L for(int i=r+1;i<A.size;i++){ for(int k=0;k<r-1;k++) temp2=temp2+L.A[i][k]*U.A[k][r]; L.A[i][r]=(A.A[i][r]-temp2)/U.A[r][r]; } } cout<<"計(jì)算U得:"<<endl; U.Disp(); cout<<"計(jì)算L的:"<<endl; L.Disp(); double *Y=new double [A.size]; Y[0]=A.b[0]; for(int i=1;i<A.size;i++ ){ double temp3=0; for(int k=0;k<i-1;k++) temp3=temp3+L.A[i][k]*Y[k]; Y[i]=A.b[i]-temp3; } Xn[A.size-1]=Y[A.size-1]/U.A[A.size-1][A.size-1]; for(int i=A.size-1;i>=0;i--){ double temp4=0; for(int k=i+1;k<A.size;k++) temp4=temp4+U.A[i][k]*Xn[k]; Xn[i]=(Y[i]-temp4)/U.A[i][i]; } return Xn; } int main() { Matrix B(4); B.Input(); double *X; X=Dooli(B); cout<<"~~~~解得:"<<endl; for(int i=0;i<B.size;i++) cout<<"X["<<i<<"]:"<<X[i]<<" "; cout<<endl<<"呵呵呵呵呵"; return 0; } 

    標(biāo)簽: 道理特分解法

    上傳時(shí)間: 2018-05-20

    上傳用戶:Aa123456789

  • Arduino教程從零到入門到應(yīng)用圈點(diǎn)筆記

    Arduino教程從零到入門到應(yīng)用圈點(diǎn)筆記        此文件為個(gè)人學(xué)習(xí)視頻中截圖積累知識(shí)筆記,僅記錄一些關(guān)鍵步驟及相關(guān)知識(shí)文字圈點(diǎn),方便快速記憶使用而作,知識(shí)點(diǎn)基礎(chǔ)傳感器見目錄,相關(guān)具體代碼操作皆有完整截圖保存。目的按知識(shí)層次階段整理而成。目錄初積    基礎(chǔ)知識(shí)        函數(shù)        樣板測(cè)試        函數(shù)介紹        器件知識(shí)            面包板            LED燈            蜂鳴器            顯示管            舵機(jī)            超聲波測(cè)距            紅外傳感器            觸摸傳感器            聲音傳感器            雨滴傳感器            溫度傳感器            溫濕度傳感器            激光發(fā)射器            紅外遙控器            火焰?zhèn)鞲衅?nbsp;           滾珠傳感器            步進(jìn)電機(jī)            搖桿            LCD            電量燈            點(diǎn)陣實(shí)驗(yàn)            WIFI通訊            鼠標(biāo)模擬            串口調(diào)試            控制風(fēng)扇            74HC595芯片            實(shí)時(shí)時(shí)鐘        案例            平衡玩具            智能晾衣架            電壓表進(jìn)階    應(yīng)用實(shí)例        Siri開關(guān)        設(shè)計(jì)思路        光貓    小實(shí)例        知識(shí)補(bǔ)充        RFID        Mqtt   芯片知識(shí)        CH340G        ESP2866        NodeMCU          問題

    標(biāo)簽: arduino

    上傳時(shí)間: 2021-11-27

    上傳用戶:

  • 周立功RS485協(xié)議指南 44頁 高清文字版

    周立功RS485協(xié)議指南,RS485選型及應(yīng)用指南。 1 章 RS-485 選型及應(yīng)用指南 .........................................................................1 1.1 RS-232/422/485 標(biāo)準(zhǔn) ...............................................................................................1 1.1.1 RS-232 標(biāo)準(zhǔn) .....................................................................................................2 1.1.2 RS-422/485 標(biāo)準(zhǔn) ..............................................................................................2 1.2 RS-485/RS-422 芯片................................................................................................5 1.2.1 增強(qiáng)型低功耗半雙工 RS-485 收發(fā)器-SP481E/SP485E ..............................7 1.2.2 1/10 單位負(fù)載 RS-485 收發(fā)器-SP481R/SP485R .....................................10 1.2.3 +3.3V 低功耗半雙工 RS-485 收發(fā)器-SP3481/SP3485..............................13 1.2.4 增強(qiáng)型低功耗全雙工 RS-422 收發(fā)器-SP490E/SP491E ............................15 1.2.5 +3.3V 低功耗全雙工 RS-422 收發(fā)器-SP3490/SP3491..............................20 1.3 RS-485 接口電路 ...................................................................................................22 1.3.1 基本 RS-485 電路...........................................................................................22 1.3.2 隔離 RS-485 電路...........................................................................................23 1.3.3 上電抑制電路.................................................................................................24 1.3.4 RS-485 自動(dòng)換向電路....................................................................................24 1.4 RS-485 通訊協(xié)議 ...................................................................................................25 1.4.1 ModBus 協(xié)議(RTU 模式)...............................................................................25 1.4.2 多功能電能表通訊規(guī)約(DL/T645-1997) ......................................................27 1.5 RS-485 程序設(shè)計(jì) ...................................................................................................28 1.5.1 RS-485 接口電路............................................................................................28 1.5.2 通訊規(guī)約.........................................................................................................28 1.5.3 程序設(shè)計(jì)流程圖.............................................................................................29 1.5.4 數(shù)據(jù)接收部分.................................................................................................29 1.5.5 命令執(zhí)行部分.................................................................................................29 1.5.6 數(shù)據(jù)發(fā)送部分.................................................................................................30 1.5.7 RS-485 程序清單............................................................................................31 1.6 RS-485 應(yīng)用要點(diǎn) ...................................................................................................38 1.6.1 合理選用芯片.................................................................................................38 1.6.2 終端匹配電阻.................................................................................................39 1.6.3 應(yīng)用層通信協(xié)議.............................................................................................39 1.6.4 3V-5V 系統(tǒng)的連接.........................................................................................39 1.6.5 網(wǎng)絡(luò)節(jié)點(diǎn)數(shù).....................................................................................................40 1.6.6 節(jié)點(diǎn)與主干距離.............................................................................................40 1.6.7 RS-485 系統(tǒng)的常見故障及處理方法............................................................40 1.6.8 RS-422 與 RS-485 的網(wǎng)絡(luò)拓樸 .....................................................................41 1.6.9 RS-422 與 RS-485 的接地問題 .....................................................................41 1.6.10 RS-422 與 RS-485 的瞬態(tài)保護(hù) .....................................................................42 1.7 參考文獻(xiàn).................................................................................................................43 廣州周立功單片機(jī)發(fā)展有限公司 Tel:(020)38730977 38730977 Fax:38730925 http://www.zlgmcu.通常的微處理器都集成有 1 路或多路硬件 UART 通道,可以非常方便地實(shí)現(xiàn)串行通訊。 在工業(yè)控制、電力通訊、智能儀表等領(lǐng)域中,也常常使用簡(jiǎn)便易用的串行通訊方式作為數(shù)據(jù) 交換的手段。 但是,在工業(yè)控制等環(huán)境中,常會(huì)有電氣噪聲干擾傳輸線路,使用 RS-232 通訊時(shí)經(jīng)常 因外界的電氣干擾而導(dǎo)致信號(hào)傳輸錯(cuò)誤;另外,RS-232 通訊的最大傳輸距離在不增加緩沖 器的情況下只可以達(dá)到 15 米。為了解決上述問題,RS-485/422 通訊方式就應(yīng)運(yùn)而生了。 本章將詳細(xì)介紹 RS-485/422 原理與區(qū)別、元件選擇、參考電路、通訊規(guī)約、程序設(shè)計(jì) 等方面的應(yīng)用要點(diǎn),以及在產(chǎn)品實(shí)踐中總結(jié)出的一些經(jīng)驗(yàn)、竅門。

    標(biāo)簽: 周立功 rs485

    上傳時(shí)間: 2022-04-27

    上傳用戶:qingfengchizhu

  • 安森美車規(guī)級(jí)1080P圖像傳感器AR0231手冊(cè)

    AR0231AT7C00XUEA0-DRBR(RGB濾光)安森美半導(dǎo)體推出采用突破性減少LED閃爍 (LFM)技術(shù)的新的230萬像素CMOS圖像傳感器樣品AR0231AT,為汽車先進(jìn)駕駛輔助系統(tǒng)(ADAS)應(yīng)用確立了一個(gè)新基準(zhǔn)。新器件能捕獲1080p高動(dòng)態(tài)范圍(HDR)視頻,還具備支持汽車安全完整性等級(jí)B(ASIL B)的特性。LFM技術(shù)(專利申請(qǐng)中)消除交通信號(hào)燈和汽車LED照明的高頻LED閃爍,令交通信號(hào)閱讀算法能于所有光照條件下工作。AR0231AT具有1/2.7英寸(6.82 mm)光學(xué)格式和1928(水平) x 1208(垂直)有源像素陣列。它采用最新的3.0微米背照式(BSI)像素及安森美半導(dǎo)體的DR-Pix?技術(shù),提供雙轉(zhuǎn)換增益以在所有光照條件下提升性能。它以線性、HDR或LFM模式捕獲圖像,并提供模式間的幀到幀情境切換。 AR0231AT提供達(dá)4重曝光的HDR,以出色的噪聲性能捕獲超過120dB的動(dòng)態(tài)范圍。AR0231AT能同步支持多個(gè)攝相機(jī),以易于在汽車應(yīng)用中實(shí)現(xiàn)多個(gè)傳感器節(jié)點(diǎn),和通過一個(gè)簡(jiǎn)單的雙線串行接口實(shí)現(xiàn)用戶可編程性。它還有多個(gè)數(shù)據(jù)接口,包括MIPI(移動(dòng)產(chǎn)業(yè)處理器接口)、并行和HiSPi(高速串行像素接口)。其它關(guān)鍵特性還包括可選自動(dòng)化或用戶控制的黑電平控制,支持?jǐn)U頻時(shí)鐘輸入和提供多色濾波陣列選擇。封裝和現(xiàn)狀:AR0231AT采用11 mm x 10 mm iBGA-121封裝,現(xiàn)提供工程樣品。工作溫度范圍為-40℃至105℃(環(huán)境溫度),將完全通過AEC-Q100認(rèn)證。

    標(biāo)簽: 圖像傳感器

    上傳時(shí)間: 2022-06-27

    上傳用戶:XuVshu

主站蜘蛛池模板: 西昌市| 普洱| 仁寿县| 宜兰县| 资阳市| 阿坝县| 海晏县| 襄樊市| 南投县| 濮阳市| 甘肃省| 嘉义县| 邢台市| 丹寨县| 文安县| 凭祥市| 沙河市| 永新县| 沛县| 马山县| 韶山市| 大渡口区| 正镶白旗| 沙田区| 南城县| 陆丰市| 高唐县| 青海省| 高台县| 钟山县| 鹤壁市| 淮南市| 思茅市| 和林格尔县| 三亚市| 连平县| 白城市| 巴林右旗| 普兰店市| 清水河县| 巫溪县|