% 文件名:randlsbget.m % 程序員:余波 % 編寫時(shí)間:2007.6.25 % 函數(shù)功能: 本函數(shù)將完成提取隱秘于上的秘密信息 % 輸入格式舉例:result=( scover.jpg ,56, secret.txt ,2001) % 參數(shù)說明: % output是信息隱藏后的圖象 % len_total是秘密信息的長度 % goalfile是提取出的秘密信息文件 % key是隨機(jī)間隔函數(shù)的密鑰 % result是提取的信息 function result=randlsbget(output,len_total,goalfile,key) ste_cover=imread(output) ste_cover=double(ste_cover) % 判斷嵌入信息量是否過大 [m,n]=size(ste_cover) frr=fopen(goalfile, a ) % p作為信息嵌入位計(jì)數(shù)器將信息序列寫回文本文件 p=1 % 調(diào)用隨機(jī)間隔函數(shù)選取像素點(diǎn) [row,col]=randinterval(ste_cover,len_toal,key) for i=:len_toal if bitand(ste_cover(row(i),col(i)),1)==1 fwrite(frr,1, bit1 ) result(p,1) else fwrite(frr,0, bit1 ) result(p,1)=0 end if p==len_total break end p=p+1 end fclose(frr)
標(biāo)簽: randlsbget result scover 2007
上傳時(shí)間: 2015-11-10
上傳用戶:yzhl1988
雙曲線回歸方程 HyperbolaRegress.cs 注意!該模型要求a與b的值要大于0!使用該模型時(shí)應(yīng)注意驗(yàn)證這個(gè)限制條件。我在實(shí)現(xiàn)模型時(shí)未加入任何出錯(cuò)流程控制。X不能為0。 方程模型為 public override double[] buildFormula() 得到系數(shù)數(shù)組,存放順序與模型系數(shù)相反,即該數(shù)組中系數(shù)的值依次是b,a。 public override double forecast(double x) 預(yù)測函數(shù),根據(jù)模型得到預(yù)測結(jié)果。 public override double computeR2()
標(biāo)簽: HyperbolaRegress 模型 方程 cs
上傳時(shí)間: 2014-11-30
上傳用戶:youke111
移動(dòng)平均預(yù)測 ModifyShiftAverageRegress.cs 移動(dòng)平均也可畫趨勢圖,如下: public double forecast(int interval) 移動(dòng)平均認(rèn)為數(shù)據(jù)是時(shí)間序列數(shù)據(jù),該方法預(yù)測interval個(gè)時(shí)間間隔后的值 public override double[] getTrendArray() 得到趨勢數(shù)組,該數(shù)組的數(shù)據(jù)直接在圖形中展示出來就可以產(chǎn)生趨勢線。
標(biāo)簽: ModifyShiftAverageRegress 移動(dòng) cs
上傳時(shí)間: 2014-01-01
上傳用戶:wff
Modbus串口通訊協(xié)議通訊源代碼,采用C開發(fā),UartWaitFuc作為入口文件,提供從bit到double word的讀寫操作功能
標(biāo)簽: Modbus 串口通訊 協(xié)議 通訊
上傳時(shí)間: 2015-12-12
上傳用戶:huql11633
This demo shows how to use MATLAB, Optimization Toolbox, and Genetic Algorithm and Direct Search Toolbox to optimize the design of a double wishbone suspension system.
標(biāo)簽: Optimization Algorithm and Genetic
上傳時(shí)間: 2013-12-18
上傳用戶:youmo81
Example to support XML files using MSXML. ========================================= XML (Extensible Markup Language) is a commonly used basis for representing a huge range of structured data file formats. The specification is maintained by the World Wide Web Consortium (W3C?. This plugin is intended as an example of how XML data can be read with a DataPlugin. You can adjust it to meet the needs of your own XML file format. After installing the URI file (double click on it), you can find the VBScript file located at "C:\Program Files\National Instruments\Shared\USI\plugins\DataPlugins\XML Example" You can make changes to this file to read your specific XML file.
標(biāo)簽: XML Example support Extensi
上傳時(shí)間: 2016-01-03
上傳用戶:cooran
Ideal for large low power (nanoWatt) and connectivity applications that benefit from the availability of four serial ports: double synchronous serial ports (I² C™ and SPI™ ) and double asynchronous (LIN capable) serial ports. Large amounts of RAM memory for buffering and FLASH program memory make it ideal for instrumentation panels, TCP/IP enabled embedded applications as well as metering and industrial control and monitoring applications. While operating up to 40 MHz, it is also backward software and hardware compatible with the PIC18F8720.
標(biāo)簽: connectivity applications availabilit nanoWatt
上傳時(shí)間: 2016-02-04
上傳用戶:CHINA526
編寫4個(gè)類:Rectangle、Circle、Geometry、Exa,具體要求如下: ① Rectangle類有double型成員變量表示矩形左上角的位置坐標(biāo)及矩形的寬和高,要求提供修改和返回各成員變量的方法。 ② Circle類有double型成員變量表示圓心坐標(biāo)和圓的半徑,要求提供修改和返回各成員變量的方法。 ③ Geometry類有Rectangle類和Circle型的成員變量rect和circle。即Geometry類創(chuàng)建的對象由一個(gè)矩形和一個(gè)圓組合而成。要求該類提供修改rect、circle位置和大小的方法;提供顯示rect和circle位置關(guān)系的方法,并能夠顯示圓是否完全坐落于矩形中。 ④ 要求能對創(chuàng)建的Rectangle類和Circle類對象數(shù)目進(jìn)行統(tǒng)計(jì)。 ⑤ Exa類含有main方法,在main方法中用Geometry類創(chuàng)建對象,該對象調(diào)用相應(yīng)的方法設(shè)置圓和矩形的位置及大小并輸出圓是否包含在矩形中。輸出當(dāng)前Rectangle和Circle對象數(shù)目。
標(biāo)簽: Rectangle Geometry Circle Exa
上傳時(shí)間: 2016-02-29
上傳用戶:頂?shù)弥?/p>
/*目的:使一個(gè)複數(shù)可顯數(shù)出來,可做+-/*,還要可以做>>跟<<的功能 題目:定義一個(gè)複數(shù)的class叫Complex,a(實(shí)部)與b(虛部)為double的型態(tài),i表示根號(hào)-1, 1.必須包含一個(gè)建構(gòu)子有兩個(gè)參數(shù)(double型態(tài)),能被用來設(shè)定物件中的變數(shù)為任意值 2.包含一個(gè)建構(gòu)子只有一個(gè)參數(shù)(double型態(tài)),呼叫參數(shù)的實(shí)部且定義為"實(shí)部+0i" 3.包含一個(gè)預(yù)建構(gòu)子可把物件初始化為0+0i 4.overload以下的operator以致於可以正確的執(zhí)行:+ - * / << >> */
標(biāo)簽:
上傳時(shí)間: 2013-12-27
上傳用戶:lindor
要求:編寫一個(gè)應(yīng)用程序,對程序中給定的四個(gè)double型數(shù)據(jù)求其最大值和最小值。 文檔包括了實(shí)驗(yàn)要求和詳細(xì)的源代碼.
標(biāo)簽: 編寫 應(yīng)用程序
上傳時(shí)間: 2013-12-23
上傳用戶:Divine
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1