電力系統在臺穩定計算式電力系統不正常運行方式的一種計算。它的任務是已知電力系統某一正常運行狀態和受到某種擾動,計算電力系統所有發電機能否同步運行 1運行說明: 請輸入初始功率S0,形如a+bi 請輸入無限大系統母線電壓V0 請輸入系統等值電抗矩陣B 矩陣B有以下元素組成的行矩陣 1正常運行時的系統直軸等值電抗Xd 2故障運行時的系統直軸等值電抗X d 3故障切除后的系統直軸等值電抗 請輸入慣性時間常數Tj 請輸入時段數N 請輸入哪個時段發生故障Ni 請輸入每時段間隔的時間dt
上傳時間: 2015-06-13
上傳用戶:it男一枚
//=== === === === === === === === === === === === === === = //函數說明 //函數名稱:PolyFit //函數功能:最小二乘法曲線擬合 //使用方法:double *x ---- 存放n個數據點的X坐標 // double *y ---- 存放n個數據點的Y坐標 // int n -------- 給定數據點個數 // double *a ---- 返回m-1次擬合多項式的m個系數 // int m -------- 擬合多項式的項數,即擬合多項式的最高次為m-1。要求m<=n,且 // m<=20。若m>n或m>20,則本函數自動按m=min{n,20}處理 // double *dt --- dt[0]返回擬合多項式與各數據點誤差的平方和;dt[1]返回擬合多 // 項式與各數據點的誤差絕對值之和;dt[2]返回擬合多項式與各數據 // 點誤差絕對值的最大值 //注意事項:擬合多項式的形式為 y = b0 + b1*(x-Xavr)...
上傳時間: 2015-07-19
上傳用戶:waizhang
超寬帶系統鏈路matlab仿真程序 超寬帶系統簡單仿真平臺,有簡單界面.包括可替換的脈沖成型(半余弦脈沖)、IEEE802.15.3a的修正SV信道、最大似然信道估計、Rake接收機等模塊,可以實現monte carlo仿真求誤碼率。可添加多址接入、編碼等功能(維特比編解碼、幀同步的程序由本人同學編寫)。入口主程序uwbsim.m 編解碼程序:bin2deci.m;bini2deci.m;deci2bin.m VITRBI.m 信道及信道估計:ch_est.m;channel.m;channelgenerator.m;conv_m. m;sigfold.m UWB_SV_channel.m uwb_sv_cnvrt_ct.m uwb_sv_eval_ct.m uwb_sv_model_ct.m uwb_sv_params.m Rake接收機:findpeak.m;MRC_combine.m;MRC_Rake.m;n_upsample.m;selectpath.m 其他:cnv_encd.m;dssignal.m;Eb_halfcos.m;waveshape.m;halfcos_generator.m;metric.m;nxt_stat.m;sim_main.m;spreadgren.m;test_code.m;training_ds.m;uwbsim.m;vit_test.m
上傳時間: 2013-12-30
上傳用戶:duoshen1989
自己編寫的超寬帶系統簡單仿真平臺,有簡單界面.包括可替換的脈沖成型(半余弦脈沖)、IEEE802.15.3a的修正SV信道、最大似然信道估計、Rake接收機等模塊,可以實現monte carlo仿真求誤碼率。可添加多址接入、編碼等功能(維特比編解碼、幀同步的程序由本人同學編寫)。入口主程序uwbsim.m 編解碼程序:bin2deci.m;bini2deci.m;deci2bin.m VITRBI.m 信道及信道估計:ch_est.m;channel.m;channelgenerator.m;conv_m. m;sigfold.m UWB_SV_channel.m uwb_sv_cnvrt_ct.m uwb_sv_eval_ct.m uwb_sv_model_ct.m uwb_sv_params.m Rake接收機:findpeak.m;MRC_combine.m;MRC_Rake.m;n_upsample.m;selectpath.m 其他:cnv_encd.m;dssignal.m;Eb_halfcos.m;waveshape.m;halfcos_generator.m;metric.m;nxt_stat.m;sim_main.m;spreadgren.m;test_code.m;training_ds.m;uwbsim.m;vit_test.m
上傳時間: 2013-12-15
上傳用戶:redmoons
生成一個規則LDPC碼的教研矩陣H,其行數(越大越好)為列數的一半,行重為6,列重為3,任意兩行沒有圍長為4的圈 使用方法:H=HGrandom2(m,n)。m表示行數,n表示列數
上傳時間: 2013-12-28
上傳用戶:Yukiseop
java實現的md5算法,獨立于jdk版本。調用辦法:MD5 m = new MD5() m.getMD5ofStr("abc")
上傳時間: 2015-11-13
上傳用戶:hoperingcong
一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規則由人的語言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫一個魔王語言的解釋系統,把 他的話解釋成人能聽得懂的話. 2. 基本要求: 用下述兩條具體規則和上述規則形式(2)實現.設大寫字母表示魔王語言的詞匯 小寫字母表示人的語言的詞匯 希臘字母表示可以用大寫字母或小寫字母代換的變量.魔王語言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測試數據: B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫字母與漢字建立下表所示的對應關系,則魔王說的話是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |
上傳時間: 2014-12-02
上傳用戶:jkhjkh1982
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
標簽: represented integers group items
上傳時間: 2016-01-17
上傳用戶:jeffery
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
標簽: converts Toolbox complex logical
上傳時間: 2016-02-12
上傳用戶:a673761058
任務:參加運動會有n個學校,學校編號為1……n。比賽分成m個男子項目,和w個女子項目。項目編號為男子1……m,女子m+1……m+w。不同的項目取前五名或前三名積分;取前五名的積分分別為:7、5、3、2、1,前三名的積分分別為:5、3、2;哪些取前五名或前三名由學生自己設定。(m<=20,n<=20) 功能要求:1).可以輸入各個項目的前三名或前五名的成績;
標簽:
上傳時間: 2016-03-21
上傳用戶:athjac