% 文件名:randlsbget.m % 程序員:余波 % 編寫時間:2007.6.25 % 函數功能: 本函數將完成提取隱秘于上的秘密信息 % 輸入格式舉例:result=( scover.jpg ,56, secret.txt ,2001) % 參數說明: % output是信息隱藏后的圖象 % len_total是秘密信息的長度 % goalfile是提取出的秘密信息文件 % key是隨機間隔函數的密鑰 % 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作為信息嵌入位計數器將信息序列寫回文本文件 p=1 % 調用隨機間隔函數選取像素點 [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)
標簽: randlsbget result scover 2007
上傳時間: 2015-11-10
上傳用戶:yzhl1988
雙曲線回歸方程 HyperbolaRegress.cs 注意!該模型要求a與b的值要大于0!使用該模型時應注意驗證這個限制條件。我在實現模型時未加入任何出錯流程控制。X不能為0。 方程模型為 public override double[] buildFormula() 得到系數數組,存放順序與模型系數相反,即該數組中系數的值依次是b,a。 public override double forecast(double x) 預測函數,根據模型得到預測結果。 public override double computeR2()
標簽: HyperbolaRegress 模型 方程 cs
上傳時間: 2014-11-30
上傳用戶:youke111
移動平均預測 ModifyShiftAverageRegress.cs 移動平均也可畫趨勢圖,如下: public double forecast(int interval) 移動平均認為數據是時間序列數據,該方法預測interval個時間間隔后的值 public override double[] getTrendArray() 得到趨勢數組,該數組的數據直接在圖形中展示出來就可以產生趨勢線。
標簽: ModifyShiftAverageRegress 移動 cs
上傳時間: 2014-01-01
上傳用戶:wff
Modbus串口通訊協議通訊源代碼,采用C開發,UartWaitFuc作為入口文件,提供從bit到double word的讀寫操作功能
上傳時間: 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.
標簽: Optimization Algorithm and Genetic
上傳時間: 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.
標簽: XML Example support Extensi
上傳時間: 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.
標簽: connectivity applications availabilit nanoWatt
上傳時間: 2016-02-04
上傳用戶:CHINA526
編寫4個類:Rectangle、Circle、Geometry、Exa,具體要求如下: ① Rectangle類有double型成員變量表示矩形左上角的位置坐標及矩形的寬和高,要求提供修改和返回各成員變量的方法。 ② Circle類有double型成員變量表示圓心坐標和圓的半徑,要求提供修改和返回各成員變量的方法。 ③ Geometry類有Rectangle類和Circle型的成員變量rect和circle。即Geometry類創建的對象由一個矩形和一個圓組合而成。要求該類提供修改rect、circle位置和大小的方法;提供顯示rect和circle位置關系的方法,并能夠顯示圓是否完全坐落于矩形中。 ④ 要求能對創建的Rectangle類和Circle類對象數目進行統計。 ⑤ Exa類含有main方法,在main方法中用Geometry類創建對象,該對象調用相應的方法設置圓和矩形的位置及大小并輸出圓是否包含在矩形中。輸出當前Rectangle和Circle對象數目。
標簽: Rectangle Geometry Circle Exa
上傳時間: 2016-02-29
上傳用戶:頂得柱
/*目的:使一個複數可顯數出來,可做+-/*,還要可以做>>跟<<的功能 題目:定義一個複數的class叫Complex,a(實部)與b(虛部)為double的型態,i表示根號-1, 1.必須包含一個建構子有兩個參數(double型態),能被用來設定物件中的變數為任意值 2.包含一個建構子只有一個參數(double型態),呼叫參數的實部且定義為"實部+0i" 3.包含一個預建構子可把物件初始化為0+0i 4.overload以下的operator以致於可以正確的執行:+ - * / << >> */
標簽:
上傳時間: 2013-12-27
上傳用戶:lindor
要求:編寫一個應用程序,對程序中給定的四個double型數據求其最大值和最小值。 文檔包括了實驗要求和詳細的源代碼.
上傳時間: 2013-12-23
上傳用戶:Divine