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