function Binary_Search(L,a,b,x) begin if a>b then return(-1) else begin m:=(a+b) div 2 if x=L[m] then return(m) else if x>L[m] then
資源簡介:function Binary_Search(L,a,b,x) begin if a>b then return(-1) else begin m:=(a+b) div 2 if x=L[m] then return(m) else if x>L[m] then
上傳時間: 2015-12-17
上傳用戶:tb_6877751
資源簡介:#include <iostream> #include <stdio.head> #include <stdlib.head> #include <string.head> #define ElemType int #define max 100 using namespace std; typedef struct node1 { ElemType data; struct node1 *next; }Node1,*LinkList;//鏈棧 ty...
上傳時間: 2018-05-09
上傳用戶:123456..
資源簡介:卡爾曼濾波器matlab源代碼。 function [Y,PY,KC]=myKalman(x,A,B,Q,H,R,y0,P0) 這是我課程設計時做的。
上傳時間: 2014-10-28
上傳用戶:agent
資源簡介:基于事件驅動的串口通訊控件 消息幀數據格式: 1 0 A B X X 其中 10 為消息標識, AB表示文本長度,L=A*100+B XX為配位字符,任意 控制幀數據格式 0 1 A B M N 其中 01為控制標識, AB為請求標識 MN為附加標識 11表示請求對方接收文件,M表...
上傳時間: 2015-10-06
上傳用戶:拔絲土豆
資源簡介:含t h r e a d x,u c o s 的b s p
上傳時間: 2015-06-29
上傳用戶:xfbs821
資源簡介:一、 一元三次回歸方程 CubicMultinomialRegress.cs 方程模型為Y=a*X(3)+b*X(2)+c*X(1)+d public override double[] buildFormula() 得到系數數組,存放順序與模型系數相反,即該數組中系數的值依次是d,c,b,a。 以后所述所有模型的系數存放均與此相同(多...
上傳時間: 2015-11-25
上傳用戶:13215175592
資源簡介:結合單片機和M a t l a b 兩者的優點,基于事件驅動的中斷通信機制,提出一種Matlab 環境下PC 機與 單片機實時串行通信及數據處理的方法;完成單片機數據采集系統與PC 機的RS-232/RS-485 串行通 信及其通信數據的分析處理、文件存儲、F I R 濾波及圖形顯示...
上傳時間: 2014-01-19
上傳用戶:yzy6007
資源簡介:給出Henon的模型x(i+1)=1+y(i)-a*x(i)^2 y(i+1)=b*x(i)
上傳時間: 2013-12-18
上傳用戶:徐孺
資源簡介:求解 形如 a*x^2+b*x+c=0 (mod p)的二次同余方程,其中p為任意素數,a,b,c為任意整數.
上傳時間: 2014-01-11
上傳用戶:er1219
資源簡介:%調用格式 =trapez_g( f_name ,a,b,n) %f_name: 被積函數的文件名f(x) % a:x的上限 % b:x的下限 % 部分區間數 %實例:trapez_g( sin ,0,pi,20)
上傳時間: 2013-12-19
上傳用戶:cjl42111
資源簡介:M a t l a b 中讀取視頻avi文件的小程序
上傳時間: 2016-09-28
上傳用戶:xwd2010
資源簡介:計算滿足a<=x<=b且是Fibonacci數的x個數。
上傳時間: 2013-12-11
上傳用戶:Shaikh
資源簡介:有約束2a+b^2+tan(c)=15 目標函數a*exp(b/x)+c=y 的最小二乘解
上傳時間: 2014-12-20
上傳用戶:heart520beat
資源簡介:m a t l a b 編 程 實 例!
上傳時間: 2013-12-21
上傳用戶:skfreeman
資源簡介:二: 普通計算器的設計說明: 1 普通計算器的主要功能(普通計算與逆波蘭計算): 1.1主要功能: 包括 a普通加減乘除運算及帶括號的運算 b各類三角與反三角運算(可實現角度與弧度的切換) c邏輯運算, d階乘與分解質因數等 e各種復雜物理常數的記憶功能 f對運算過...
上傳時間: 2013-11-26
上傳用戶:yzy6007
資源簡介:2^x mod n = 1 acm競賽題 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input One positive integer on each line, the value of n. Output If the minimum x exists, print a line with 2^x mod n = 1. Print 2^?...
上傳時間: 2015-06-02
上傳用戶:qlpqlq
資源簡介:* 高斯列主元素消去法求解矩陣方程AX=B,其中A是N*N的矩陣,B是N*M矩陣 * 輸入: n----方陣A的行數 * a----矩陣A * m----矩陣B的列數 * b----矩陣B * 輸出: det----矩陣A的行列式值 * a----A消元后的上三角矩陣 * b----矩陣方程的解X
上傳時間: 2015-07-26
上傳用戶:xauthu
資源簡介:Floyd-Warshall算法描述 1)適用范圍: a)APSP(All Pairs Shortest Paths) b)稠密圖效果最佳 c)邊權可正可負 2)算法描述: a)初始化:dis[u,v]=w[u,v] b)For k:=1 to n For i:=1 to n For j:=1 to n If dis[i,j]>dis[i,k]+dis[k,j] Then Dis[I,j]:...
上傳時間: 2013-12-01
上傳用戶:dyctj
資源簡介:計算廣義分形維數的matlab源程序。希望對大家有用! 函數形式:function [dq,rq]=fdim(q,x,trace) 不同q值下得到不同定義的分形維,如:q=0 is Hausdorf, q=1 is Information, q=2 is Correlation, etc.具體說明見程序。
上傳時間: 2013-12-24
上傳用戶:sk5201314
資源簡介:This a very useful book ,if you are studying simulation.
上傳時間: 2015-09-29
上傳用戶:iswlkje
資源簡介:jsp this is a very good project,if you need it ,please share it with me. share the joys and sorrows with the masses
上傳時間: 2013-11-29
上傳用戶:wys0120
資源簡介:this code can help you do a lot of work ,if you have some need ,please communicate me
上傳時間: 2015-11-07
上傳用戶:ruixue198909
資源簡介:A bemused fork for X remote control aplications or bash control, using bluetooth o tcp and a client symbian at mobile system.
上傳時間: 2015-12-13
上傳用戶:ve3344
資源簡介:HX8310-A 128RGB x 160 dot, 262,144 color TFT controller driver 初始化代碼
上傳時間: 2015-12-17
上傳用戶:yoleeson
資源簡介:老外自編串口組件及串口程序: Commu, a testform to check if everything is working correctly. XON/XOFF check is not yet implemented. So good luck with communication.
上傳時間: 2016-02-28
上傳用戶:zhuimenghuadie
資源簡介:RSA核心運算使用的乘模算法就是 M(A*B)。雖然M(A*B)并不是乘模所需要的真正結果,但只要在冪模算法中進行相應的修改,就可以調用這個乘模算法進行計算了。本軟件起初未使用Montgomery 乘模算法時,加密速度比使用Montgomery乘模算法慢,但速度相差不到一個數...
上傳時間: 2016-07-16
上傳用戶:hullow
資源簡介:這是一個由java寫成的猜數字遊戲!目的在猜4個數字!如果輸入的數字和位置是對的等於一個A!如果只有數字對但位置不對等於一個B!由此來推測出正確的4個數字!
上傳時間: 2016-10-26
上傳用戶:ecooo
資源簡介:對應分析correspondence analysis(ANACOR) [G,F,A]=ANACOR(X),X為原始數據 p X n維 即有n個樣本,每個樣本由p個變量來描述。返回F為R型因子分析后的結果,Q為最后的結果,A=ZZ 。
上傳時間: 2016-11-26
上傳用戶:wyc199288
資源簡介:大數的模運算。 a^b % m a可以為1000位的大數,b,m在int 范圍內
上傳時間: 2014-01-01
上傳用戶:heart520beat
資源簡介:兩臺處理機A 和B處理n個作業。設第i個作業交給機器 A 處理時需要時間ai,若由機器B 來處理,則需要時間bi。由于各作 業的特點和機器的性能關系,很可能對于某些i,有ai >=bi,而對于 某些j,j!=i,有aj<bj。既不能將一個作業分開由兩臺機器處理,也沒 有...
上傳時間: 2014-01-14
上傳用戶:獨孤求源