亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

function

function,表示子例程的一般性名詞。在某些編程語言中,它指帶返回值的子例程或語句。在一些編程語言中起著關鍵字的作用。
  • matlab 滑動相關計算程序

    function [Rs,Ps]=move_corr(X,Y,a) %%%--- this function is for moving correlation %%%--- X,Y is the imput data, a is the length of the moving window %%%--- Rs is the spwarman correlation coeffcient, Ps is the p_vaue

    標簽: matlab 計算 程序

    上傳時間: 2017-12-27

    上傳用戶:Clocks

  • 有限差分法

    function [alpha,N,U]=youxianchafen2(r1,r2,up,under,num,deta)      %[alpha,N,U]=youxianchafen2(a,r1,r2,up,under,num,deta)   %該函數用有限差分法求解有兩種介質的正方形區域的二維拉普拉斯方程的數值解   %函數返回迭代因子、迭代次數以及迭代完成后所求區域內網格節點處的值   %a為正方形求解區域的邊長   %r1,r2分別表示兩種介質的電導率   %up,under分別為上下邊界值   %num表示將區域每邊的網格剖分個數   %deta為迭代過程中所允許的相對誤差限      n=num+1; %每邊節點數   U(n,n)=0; %節點處數值矩陣   N=0; %迭代次數初值   alpha=2/(1+sin(pi/num));%超松弛迭代因子   k=r1/r2; %兩介質電導率之比   U(1,1:n)=up; %求解區域上邊界第一類邊界條件   U(n,1:n)=under; %求解區域下邊界第一類邊界條件   U(2:num,1)=0;U(2:num,n)=0;      for i=2:num   U(i,2:num)=up-(up-under)/num*(i-1);%采用線性賦值對上下邊界之間的節點賦迭代初值   end   G=1;   while G>0 %迭代條件:不滿足相對誤差限要求的節點數目G不為零   Un=U; %完成第n次迭代后所有節點處的值   G=0; %每完成一次迭代將不滿足相對誤差限要求的節點數目歸零   for j=1:n   for i=2:num   U1=U(i,j); %第n次迭代時網格節點處的值      if j==1 %第n+1次迭代左邊界第二類邊界條件   U(i,j)=1/4*(2*U(i,j+1)+U(i-1,j)+U(i+1,j));   end         if (j>1)&&(j                 U2=1/4*(U(i,j+1)+ U(i-1,j)+ U(i,j-1)+ U(i+1,j));    U(i,j)=U1+alpha*(U2-U1); %引入超松弛迭代因子后的網格節點處的值      end      if i==n+1-j %第n+1次迭代兩介質分界面(與網格對角線重合)第二類邊界條件   U(i,j)=1/4*(2/(1+k)*(U(i,j+1)+U(i+1,j))+2*k/(1+k)*(U(i-1,j)+U(i,j-1)));      end      if j==n %第n+1次迭代右邊界第二類邊界條件   U(i,n)=1/4*(2*U(i,j-1)+U(i-1,j)+U(i+1,j));   end   end   end   N=N+1 %顯示迭代次數   Un1=U; %完成第n+1次迭代后所有節點處的值   err=abs((Un1-Un)./Un1);%第n+1次迭代與第n次迭代所有節點值的相對誤差   err(1,1:n)=0; %上邊界節點相對誤差置零   err(n,1:n)=0; %下邊界節點相對誤差置零    G=sum(sum(err>deta))%顯示每次迭代后不滿足相對誤差限要求的節點數目G   end

    標簽: 有限差分

    上傳時間: 2018-07-13

    上傳用戶:Kemin

  • read_segy_file_legacy

    read_segy_file_legacy function reads a SEG-Y file and outputs a seismic structure Last updated: April 6, 2007: fix bug in reading of user-specified header

    標簽: read_segy_file_legacy

    上傳時間: 2019-04-04

    上傳用戶:wc12

  • =read_segy_file

    function reads a SEG-Y file and outputs a seismic structure; the function

    標簽: read_segy_file

    上傳時間: 2019-04-04

    上傳用戶:wc12

  • 多元散射校正MSC

    function [R,k,b] = msc(A) % 多元散射校正 % 輸入待處理矩陣,通過多元散射校正,求得校正后的矩陣 %% 獲得矩陣行列數 [m,n] = size(A); %% 求平均光譜 M = mean(A,2); %% 利用最小二乘法求每一列的斜率k和截距b for i = 1:n a = polyfit(M,A(:,i),1); if i == 1 k = a(1); b = a(2); else k = [k,a(1)]; b = [b,a(2)]; end end %% 求得結果 for i = 1:n Ai = (A(:,i)-b(i))/k(i); if i == 1 R = Ai; else R = [R,Ai]; end end

    標簽: MSC 多元 散射 校正

    上傳時間: 2020-03-12

    上傳用戶:15275387185

  • Copper+Cabling+-+Applications

    How will future generations refer to our times? Will it be known as one of space exploration, genetics, atomic energy or computing? Possibly, but I think it is more likely to be ‘The age of communications’. Not since printed books and newspapers were first introduced has there been such an explosion of communication. None of this technology could function without modern cables and, just as important, competent installers.

    標簽: Applications Cabling Copper

    上傳時間: 2020-05-27

    上傳用戶:shancjb

  • Essentials+of+Short-Range+Wireless

    Over the past ten years there has been a revolution in the devel- opment and acceptance of mobile products. In that period, cel- lular telephony and consumer electronics have moved from the realm of science fiction to everyday reality. Much of that revolu- tion is unremarkable – we use wireless, in its broadest sense, for TV remote controls, car keyfobs, travel tickets and credit card transactions every day. At the same time, we have increased the number of mobile devices that we carry around with us. However, in many cases the design and function of these and other static products are still constrained by the wired connections that they use to transfer and share data.

    標簽: Short-Range Essentials Wireless of

    上傳時間: 2020-05-27

    上傳用戶:shancjb

  • The Complete Wireless Communications

    When thinking about mobile radio engineers there is a tendency to assume that the engineering function relates solely to the technical aspects of the network, such as the equipment design or the network design. That is certainly a key part of the role of a mobile radio engineer. However,increasinglyengineersarerequiredtointeractwithprofession- als from other divisions. The “complete wireless professional” should know about mobile networks; fixed networks; other types of mobile systems; regulatory and government policy; the requirements of the users; and financial, legal, and marketing issues.

    標簽: Communications Complete Wireless The

    上傳時間: 2020-06-01

    上傳用戶:shancjb

  • The+Complete+Wireless+Communications+Professional

    When thinking about mobile radio engineers there is a tendency to assume that the engineering function relates solely to the technical aspects of the network, such as the equipment design or the network design. That is certainly a key part of the role of a mobile radio engineer. However,increasinglyengineersarerequiredtointeractwithprofession- als from other divisions.

    標簽: Communications Professional Complete Wireless The

    上傳時間: 2020-06-01

    上傳用戶:shancjb

  • lagr.m

    function y=lagr(x0,y0,x) %x0,y0為節點 %x是插值點 n=length(x0); m=length(x); for i=1:m z=x(i); s=0.0; for k=1:n p=1.0; for j=1:n if j~=k p=p*(z-x0(j))/(x0(k)-x0(j)); end end s=p*y0(k)+s; end y(i)=s; end

    標簽: lagr

    上傳時間: 2020-06-09

    上傳用戶:shiyc2020

主站蜘蛛池模板: 湖口县| 香格里拉县| 长春市| 山东省| 茶陵县| 马山县| 大田县| 顺昌县| 宝山区| 宁安市| 长武县| 安溪县| 循化| 密云县| 鲜城| 阿瓦提县| 石嘴山市| 峡江县| 伊吾县| 平潭县| 北票市| 和田县| 宁南县| 镇巴县| 华容县| 金堂县| 彭州市| 三亚市| 巴东县| 合山市| 准格尔旗| 井陉县| 漳州市| 泾阳县| 九台市| 农安县| 泰来县| 湘西| 讷河市| 密云县| 吉木萨尔县|