USB是PC體系中的一套全新的工業標準,它支持單個主機與多個外接設備同時進行數據交換。 首先會介紹USB的結構和特點,包括總線特徵、協議定義、傳輸方式和電源管理等等。這部分內容會使USB開發者和用戶對USB有一整體的認識。
標簽: USB
上傳時間: 2015-10-18
上傳用戶:lixinxiang
Java寫的日期選擇控件,william chen的源碼。
上傳時間: 2014-01-18
上傳用戶:
設有一個背包可以放入的物品重量最重為s,現有n件物品,它們的重量分別為w[0]、 w[1]、w[2]、…、w[n-1]。問能否從這n件物品中選擇若干件放入此背包中,使得放入的重量之和正好為s。如果存在一種符合上述要求的選擇,則稱此背包問題有解(或稱其解為真);否則稱此背包問題無解(或稱其解為假)。試用遞歸方法設計求解背包問題的算法。
標簽:
上傳時間: 2016-03-15
上傳用戶:bcjtao
成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(void) { float gread printf("請輸入分數\n") scanf("%f",&gread) if(gread>=80&&gread<=100) printf("成績為A\n") else if(gread>=60&&gread<=79) { printf("成績為B\n") } else if(gread>=0&&gread<60) { printf("成績為C\n") } else { printf("分數輸入錯誤\n") } system("pause") return 0 }
標簽: include stdlib float gread
上傳時間: 2014-01-15
上傳用戶:waizhang
河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,int) int main(void) { int n int option printf("題目二:河內塔問題\n") printf("請輸入要搬移的圓盤數目\n") scanf("%d",&n) printf("最少搬移的次數為%d次\n",fun_a(n)) printf("是否顯示移動過程? 是請輸入1,否則輸入0\n") scanf("%d",&option) if(option==1) { fun_b(n,1,2,3) } system("pause") return 0 } int fun_a(int n) { int sum1=2,sum2=0,i for(i=n i>1 i--) { sum1=sum1*2 } sum2=sum1-1 return sum2 } void fun_b(int n,int left,int mid,int right) { if(n==1) printf("把第%d個盤子從第%d座塔移動到第%d座塔\n",n,left,right) else { fun_b(n-1,left,right,mid) printf("把第%d個盤子從第%d座塔移動到第%d座塔\n",n,left,right) fun_b(n-1,mid,left,right) } }
上傳時間: 2016-12-08
上傳用戶:努力努力再努力
The Window Design Method The basic idea behind the design of linear-phase FIR filters using the window method is to choose a proper ideal frequency-selective filter [which always has a noncausal, infinite duration impulse response] and then truncate its impulse response hd[n] to obtain a linear-phase and causal FIR filter h[n]. To truncate the impulse response of the ideal filter a time window w[n] is used. Available windows in Matlab are rectangular [or boxcar in Matlab], bartlett, hamming, hanning
標簽: linear-phase The the filters
上傳時間: 2017-03-20
上傳用戶:PresidentHuang
根據一個有權的無向圖生成指定結點(路由器)的路由表設有結點N,N的路由表由若干個路由項組成,路由項是<目的結點,下一跳>的二元組,其中目的結點是以N結點為源結點,通過N結點可以直接到達(目的結點是N結點的鄰居)或通過N結點的鄰居可間接到達的結點,其中下一跳即N結點的某領居,通過該鄰居可間接到達目的結點,且到達目的結點的路徑為最小代價路徑.
上傳時間: 2017-05-16
上傳用戶:ruan2570406
The code performs a number (ITERS) of iterations of the Bailey s 6-step FFT algorithm (following the ideas in the CMU Task parallel suite). 1.- Generates an input signal vector (dgen) with size n=n1xn2 stored in row major order In this code the size of the input signal is NN=NxN (n=NN, n1=n2=N) 2.- Transpose (tpose) A to have it stored in column major order 3.- Perform independent FFTs on the rows (cffts) 4.- Scale each element of the resulting array by a factor of w[n]**(p*q) 5.- Transpose (tpose) to prepair it for the next step 6.- Perform independent FFTs on the rows (cffts) 7.- Transpose the resulting matrix The code requires nested Parallelism.
標簽: iterations performs Bailey number
上傳時間: 2014-01-05
上傳用戶:libenshu01
華為開關電源電感器設計 正激式開關電源變壓器設計步驟
上傳時間: 2021-12-03
上傳用戶:fliang
安裝塌所1、通凰良好少溫策及灰座之塌所。2、雜腐蝕性、引火性氛髓、油急、切削液、切前粉、戴粉等聚境。3、雜振勤的場所。4、雜水氟及踢光直射的場所。1、本距勤器探用自然封流冷御方式正隨安裝方向局垂直站立方式2、在配電箱中需考感溫升情況未連有效散熟及冷御效果需保留足豹的空固以取得充分的空氟。3、如想要使控制箱內溫度連到一致需增加凰扇等散熱毅倩。4、組裝睛廊注意避免贊孔屑及其他翼物掉落距勤器內。5、安裝睛請硫資以M5螺練固定。6、附近有振勤源時請使用振勤吸收器防振橡腥來作腐噩勤器的防振支撐。7、勤器附近有大型磁性陰嗣、熔接樓等雄部干援源睛,容易使距勤器受外界干攝造成誤勤作,此時需加裝雄部濾波器。但雍訊濾波器舍增加波漏電流,因此需在愿勤器的輸入端裝上經緣羹愿器(Transformer)。*配象材料依照使用電象規格]使用。*配象的喪度:指令輸入象3公尺以內。編碼器輸入綜20公尺以內。配象時請以最短距薄速接。*硫賞依照操單接象圈配象,未使用到的信貌請勿接出。*局連輸出端(端子U、V、W)要正硫的速接。否則伺服焉速勤作舍不正常。*隔雄綜必須速接在FG端子上。*接地請以使用第3砸接地(接地電阻值腐100Ω以下),而且必須罩黏接地。若希望易速輿械之周腐紀緣狀懲畸,請將連接地。*伺服距勤器的輸出端不要加裝電容器,或遇(突波)吸收器及雅訊濾波器。*裝在控制輸出信號的DC繼電器,其遏(突波)吸收用的二梗溜的方向要速接正硫,否則食造成故障,因而雜法輸出信猶,也可能影馨緊急停止的保渡迎路不座生作用。*腐了防止雍部造成的錯溪勤作,請探下列的威置:請在電源上加入經緣雯愿器及雅亂濾波器等裝置。請將勤力緣(雷源象、焉連緣等的蘊雷回路)奧信蔬緣相距30公分以上來配練,不要放置在同一配緣管內。
標簽: tsda
上傳時間: 2022-05-28
上傳用戶:zhanglei193