求標準偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1)) function c=myfunction(x) [m,n]=size(x) t=0 for i=1:m for j=1:n t=t+x(i,j)*x(i,j) end end c=sqrt(t/(m*n-1
標簽: gt myfunction function numel
上傳時間: 2016-06-28
上傳用戶:change0329
求標準偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1)) function c=myfunction(x) [m,n]=size(x) t=0 for i=1:m for j=1:n t=t+x(i,j)*x(i,j) end end c=sqrt(t/(m*n-1
標簽: gt myfunction function numel
上傳時間: 2014-09-03
上傳用戶:jjj0202
一、 實驗目的: (1) 熟練掌握鏈棧的基本操作及應用。 (2) 利用鏈表作為棧的存儲結構,設計實現(xiàn)一個求解迷宮的非遞歸程序。 二、實驗內(nèi)容: 【問題描述】 以一個m×n的長方陣表示迷宮,0和1分別表示迷宮中的通路和障礙。設計一個程序,對任意設定的迷宮,求出一條從入口到出口的通路,或得出沒有通路的結論。 【基本要求】 首先實現(xiàn)一個鏈表作存儲結構的棧類型,然后編寫一個求解迷宮的非遞歸程序。求得的通路以三元組(i,j,d)的形式輸出,其中:(i,j)指示迷宮中的一個坐標,d表示走到下一坐標的方向。如:對于下列數(shù)據(jù)的迷宮,輸出的一條通路為:(1,1,1),(1,2,2),(2,2,2),(3,2,3),(3,1,2),……。
上傳時間: 2013-12-16
上傳用戶:aix008
這是一個三次樣條插值的.m程序 輸入的是一個二維數(shù)組A(Nx2) 插值方法為: S(x) = A(J) + B(J)*( x - x(J) ) + C(J)*( x - x(J) )**2 +D(J) * ( x - x(J) )**3 for x(J) <= x < x(J + 1)
上傳時間: 2013-12-14
上傳用戶:gengxiaochao
這本書是多年來我對專業(yè)程式員所做的C++ 教學課程下的一個自然產(chǎn)物。我發(fā)現(xiàn),大部份學生在一個星期的密集訓練之後,即可適應這個語言的基本架構,但要他們「將這些基礎架構以有效的方式組合運用」,我實在不感樂觀。於是我開始嘗試組織出一些簡短、明確、容易記憶的準則,做為C++ 高實效性程式開發(fā)過程之用。那都是經(jīng)驗豐富的C++ 程式員幾乎總是會奉行或幾乎肯定要避免的一些事情。structures of computer science.
標簽: 程式
上傳時間: 2016-10-13
上傳用戶:362279997
類神經(jīng)網(wǎng)路的BK演算法,已驗證過可以使用。
標簽: 算法
上傳時間: 2016-10-23
上傳用戶:kr770906
1. Learning NS Website (中文,有介紹Unicast Routing) 2. 華玄明網(wǎng)際網(wǎng)路實驗室 - NS2 討論區(qū) (臺灣NS2討論區(qū)) 3. NS仿真軟件 (中國大陸NS2討論區(qū)) 4. The Network Simulator: Contributed Code (一些研究人員所貢獻的程式碼,這些程式碼並沒有包含在NS2原本的程式碼內(nèi)) 5. The Network Simulator: Building Ns (介紹如何安裝NS2) 6. NsNam Site Search (有關於NS和NAM的搜尋引擎)
上傳時間: 2016-11-03
上傳用戶:huangld
PRINCIPLE: The UVE algorithm detects and eliminates from a PLS model (including from 1 to A components) those variables that do not carry any relevant information to model Y. The criterion used to trace the un-informative variables is the reliability of the regression coefficients: c_j=mean(b_j)/std(b_j), obtained by jackknifing. The cutoff level, below which c_j is considered to be too small, indicating that the variable j should be removed, is estimated using a matrix of random variables.The predictive power of PLS models built on the retained variables only is evaluated over all 1-a dimensions =(yielding RMSECVnew).
標簽: from eliminates PRINCIPLE algorithm
上傳時間: 2016-11-27
上傳用戶:凌云御清風
function [U,V,num_it]=fcm(U0,X) % MATLAB (Version 4.1) Source Code (Routine fcm was written by Richard J. % Hathaway on June 21, 1994.) The fuzzification constant % m = 2, and the stopping criterion for successive partitions is epsilon =??????. %*******Modified 9/15/04 to have epsilon = 0.00001 and fix univariate bug******** % Purpose:The function fcm attempts to find a useful clustering of the % objects represented by the object data in X using the initial partition in U0.
標簽: fcm function Version Routine
上傳時間: 2014-11-30
上傳用戶:二驅蚊器
K. ATKINSON, THE NUMERICAL SOLUTION OF LAPLACE S EQUATION IN THREE DIMENSIONS , SIAM J. NUM. ANAL. 19(1982),263-274.
標簽: K. J. DIMENSIONS NUMERICAL
上傳時間: 2016-12-15
上傳用戶:daoxiang126