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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? example_1.asv

?? 面波反演的一個例子。。。。 里面有文件說明 相信大家會好好利用的
?? ASV
字號:
%This program uses Genetic Algorithm Toolbox to find Thicknesses and 
%Shear Wave Velocities (vs) by forward solution of Rayleigh function using 
%experimental dispersion data. 
%Genetic Algorithm Toolbox by: Chipperfield, A., P. Fleming, H. Pohlheim, 
%and C. Fonseca (1994).
%Forward Solution of Rayleigh Function by: Rix, G. J., and C. G. Lai (1999)
%
%Authors: Morteza Zarrabi and Shahram Pezeshk
%Department of Civil Engineering 
%The University of Memphis
%Spring 2004 
%REVISED: April 2005 by Morteza Zarrabi and Shahram Pezeshk
%To save and insert the best solution of previous 
%generations in place of the worst solution of the next generations. 
%This has been done to keep and not lose the best solutions of each 
%generation. 
%REVISED: Summer 2005 by Morteza Zarrabi to calculate and save the best 
%solutions of the Shear Wave Velocity
%
%This program is free software; you can redistribute it and/or modify it 
%under the terms of the GNU General Public License as published by the
%Free Software Foundation; either version 2 of the License, or 
%(at your option) any later version.
%
%This program is distributed in the hope that it will be useful, but 
%WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
%or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License 
%for more details.
%
%You should have received a copy of the GNU General Public License
%along with this program; if not, write to the Free Software
%Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%
%This program is associated with the Following publications: 
%1- Pezeshk, S., and M. Zarrabi (2005). A new inversion procedure for 
%spectral analysis of surface waves using agenetic algorithm, Bull. 
%Seism. Soc. Am. 95(5), 1801-1808. 
%2- Morteza Zarrabi (2006). Ph.D. Dissertation, the University of Memphis.
%For more information please visit http://umdrive.memphis.edu/mzarrabi/www
%
%--------------------------------------------------------------------------
clc;
clear all;
StartTime = clock

MaxGen  = 70;  % Maximum number of generations
popSize = 70;  % Number of populations in each generation

geneLength = [15,15,15 15]; % 4 Layers including half space

Max_Layer = 4;

% Parameter Max_Con is used to control convergence. The smaller the number, 
% the better solution will be obtained; however, the number of populations 
% will be much higher and will take longer to converge.
% 
Max_Con = 45; % Maximum value of best objective function



%********************* Assign lower and upper bounds **********************

for i = 1:Max_Layer     
    lowBound(i) = 400;    % m/s
    
    uppBound(i) = 600.0;  % m/s 
end

% ********************** Develope FieldD matrix ***************************

code     = zeros(1,length(geneLength)) ;  % code for decoding
scale    = zeros(1,length(geneLength)) ;  % scaling for decoding
lowBin   = ones(1,length(geneLength))  ;  % 
uppBin   = ones(1,length(geneLength))  ;

FieldD = [geneLength;lowBound;uppBound;code;scale;lowBin;uppBin] ;


%***************** Read experimental dispersion curve *********************
 
           load NumExample1.txt;
           vr_exp = NumExample1;   

%********** Generate the initial binary string population *****************

chromosome = crtbp(popSize,sum(geneLength));

%****************** Loop over the number of generations *******************
genNum  = 1;   %Initial number of generations

while genNum <= MaxGen 
    Generation = genNum
    
%*************** Decode chromosomes to unknown real values ****************
%
%*** Line('state',sum(100*clock)) added to the end of crtbp to link the ***
%*** initial random number generation to computer clock.                *** 

    unknowns = bs2rv(chromosome,FieldD); 
      
%*********************** Estimate shear wave velocities *******************
%
    for j = 1:popSize
        Generation = genNum
        Population = j
        for i = 1:Max_Layer     
           vs(i) =    unknowns(j,i);
           vsPop(j,i)= unknowns(j,i);    
        
        end
   
         velocity = Mlayer_NumEx1(vs); 
       
         vr_theo(:,j) = velocity; 
 
    end
                    
%************ Compute the Fitness of the Population and sort **************

   [i1,i2] = size(vr_exp);
   for j = 1:popSize 
       ObjV1(j) = 0.0;
       for i = 1:i1       
           ObjV1(j) = ObjV1(j) + (abs(vr_theo(i,j) - vr_exp(i)))^1;
       end
   end 
       
%********** Trasnpose the objective vector into a column vector************
    
    ObjV = ObjV1';
    
    
%******* Find the maximum objective function which is the worst case ******   
     [bad_pop,iworst] = max(ObjV);
 
    
%********* Change the maximum objective function with the best one   ******
%********* of the previous generation for generations greater than 1 ******
%     
      if genNum > 1 
          chromosome(iworst,:) = old_chromosome(best_index(genNum - 1),:); 
          ObjV(iworst) = ObjV_old(ibest);
          vr_theo(:,iworst) = old_vr_theo(:,ibest);
      end

%************** Replace the corresponding objective function **************
    
       ObjV_old = ObjV;
    
    
% ***** find the minimums of objective function for each generation *******
% *****(Best), and its mean                                         *******

      [Best(genNum,1),ibest] = min(ObjV);
      Best(genNum,2) = mean(ObjV);
     

% **********Save the best index number (ibest) in a vector*****************
%      
     best_index(genNum) = ibest;
%      
     
% *********** Save all the generated Shear Wave Velocities  ***************

     vsAll(:,:,genNum) = unknowns(:,:);
% 
% ******** save the best Shear Wave Velocity set for each generation ******
%        
     vsGen_best(:,genNum) = unknowns(ibest,:)'; 
%     
%**** Save the worst solution number ibest in a vector(in A_GA9 043005)****
%      
     worst_index(genNum) = iworst;
%     
%*** Save the best dispersion curve of each solution for each generation **
%    
     best_vr_theo(:,genNum) = vr_theo(:,ibest);
%  
%** Save the worst dispersion curve of each solution for each generation **
%   
     worst_vr_theo(:,genNum) = vr_theo(:,iworst); 
% 
%* Parameter vr_theo corresponding to the Best (ibest) for each generation*   
%    
     vr_theo_best(:,genNum)= vr_theo(:,ibest); 
% 
%******** Parameter vr_theo corresponding to the LAST BEST (ibest) ********
%     
    Last_vr_theo_best= vr_theo(:,ibest);
     
%************ Save the chromosome of the previous generation***************
   
     old_chromosome = chromosome;
   
%**** Save the theoretical phase velocities of the previous generation ****   
    
     old_vr_theo = vr_theo;
   

%************************ Ranking and fittness ****************************   
  
   selectPress   = 2.0 ;      % Ranking: 1.0 < selectPress < 2.0
   rankingMethod = 0    ;      % Ranking method: 0 = linear; 1 = nonlinear
 
   FitnV = ranking(ObjV,[selectPress,rankingMethod]);
    
%********** Perform selection from populations for Recombination **********
    
    SEL_F = 'sus';   
    SelCh = select(SEL_F,chromosome,FitnV);
    
%************************* Execute Recombination **************************
    
    XOV_F = 'xovdp';     
    xovRate = 0.6 ;       
    SelCh = recombin(XOV_F, SelCh, xovRate);
    
%************************** Mutate offspring ******************************
    
    MUT_F   = 'mut';          
    mutRate = 0.01 ;         
    
    SelCh   = mutate(MUT_F, SelCh, [], mutRate);

%************ Insert offspring in population replacing parents ************
    
    reinsOpt(1) = 1   ;      
    reinsOpt(2) = 1.0 ;      
   
    chromosome  = reins(chromosome, SelCh, 1, reinsOpt, ObjV);
     

    
%******* Terminate the loop if Best reaches to the limit (Max_Con) ********   
      if Best(genNum,1)<Max_Con
          genNum
          genNum = MaxGen
      end   
%      
%*************** Increment the generation and go to the next **************
      
      genNum = genNum + 1;    

 end   %End the program   

EndTime = clock

 figure(1)
 plot(Best(:,1));
 xlabel('Number of Generations')
 ylabel('Error Function')
 title('Convergence History for Example 1 (without thickness estimation)')
 %
 figure(2)
 freq = linspace(5,100,50);
 plot(freq,vr_exp,'xr');
 hold on
 plot(freq,vr_theo(:,ibest),'k');
 xlabel('Frequency (Hz)')
 ylabel('Phase Velocity (m/s)')
 title('Dispersion Curve for Example 1 (without thickness estimation)')
 legend ('Experimental Phase Velocity', 'Theoretical Phase Velocity') 
%

 figure(3)
 thk = [5 10 10]; %The simulated thicknesses
 vs_sim = [500 400 500 600]; %The simulated shear wave velocities
 vs_est = vsGen_best(:,length(vsGen_best));
 X = sum(thk)+17;
 thk_cum=[X, sum(thk), sum(thk), sum(thk(1)+ thk(2)), sum(thk(1)+ ...
          thk(2)),thk(1),thk(1),0];
 vs_sim_r = [vs_sim(4), vs_sim(4), vs_sim(3), vs_sim(3), vs_sim(2), ... 
             vs_sim(2), vs_sim(1), vs_sim(1)];
 vs_est_r = [vs_est(4), vs_est(4), vs_est(3), vs_est(3), vs_est(2), ...
             vs_est(2), vs_est(1), vs_est(1)];
 plot(vs_sim_r, thk_cum, 'k');
 hold on
 plot(vs_est_r, thk_cum, '--r');
 axis([0, vs_sim(4)+200, 0, X+3])
 axis ij
 xlabel('Shear Wave Velocity (m/s)')
 ylabel('Depth (m)')
 title('Soil Profile for Example 1 (without thickness estimation)')
 legend ('Simulated Shear Wave Velocity Profile', ...
         'Estimated Shear Wave Velocity Profile',3)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品毛片无遮挡高清| 精品一区二区免费视频| 免费观看在线综合色| 99久久精品免费看国产免费软件| 欧美在线你懂得| 国产精品久久久久永久免费观看 | 全部av―极品视觉盛宴亚洲| 波多野结衣中文字幕一区| 日韩三级.com| 天天免费综合色| 91高清在线观看| 亚洲天堂a在线| 国产99精品在线观看| 日韩精品一区二区三区四区视频| 亚洲欧美一区二区三区国产精品| 国产一区二区三区精品视频| 3d动漫精品啪啪1区2区免费 | 不卡在线观看av| 国产欧美日韩亚州综合| 韩国三级电影一区二区| 日韩欧美国产三级电影视频| 亚洲电影激情视频网站| 欧美四级电影在线观看| 亚洲精品成a人| 91免费精品国自产拍在线不卡| 国产日韩av一区| 国产伦精一区二区三区| 久久天天做天天爱综合色| 黄色资源网久久资源365| 日韩欧美一区二区免费| 午夜影视日本亚洲欧洲精品| 欧美日韩亚洲另类| 亚洲第一狼人社区| 欧洲精品一区二区| 亚洲chinese男男1069| 欧美一区二区三区在线| 日韩电影在线免费| 制服丝袜亚洲播放| 日韩av电影免费观看高清完整版 | 亚洲成a人v欧美综合天堂下载| 欧美日韩在线观看一区二区 | 欧美一区二区三区不卡| 免费观看成人av| 国产视频一区二区在线| 成人国产精品免费网站| 亚洲免费毛片网站| 3d动漫精品啪啪1区2区免费| 久久疯狂做爰流白浆xx| 国产欧美一区二区三区鸳鸯浴 | 色av成人天堂桃色av| 亚洲国产日韩在线一区模特| 欧美精品日韩精品| 韩国中文字幕2020精品| 国产欧美日韩在线视频| 色婷婷国产精品久久包臀| 亚洲成人在线免费| 久久久久久久久久久久久夜| 91农村精品一区二区在线| 三级亚洲高清视频| 国产丝袜美腿一区二区三区| 91九色02白丝porn| 麻豆国产精品视频| 中文字幕人成不卡一区| 欧美日韩精品一区二区在线播放| 美国欧美日韩国产在线播放| 国产欧美一区二区精品忘忧草| 色呦呦日韩精品| 麻豆91在线观看| 亚洲欧美精品午睡沙发| 欧美一区二区视频在线观看| 成人午夜私人影院| 日日欢夜夜爽一区| 中文字幕一区二| 91精品在线麻豆| 91网址在线看| 麻豆freexxxx性91精品| 亚洲日本va午夜在线影院| 日韩免费成人网| 91国偷自产一区二区三区观看 | 国产成人亚洲精品青草天美| 一区二区三区在线影院| 久久久99免费| 欧美成人国产一区二区| 成人黄色一级视频| 美女www一区二区| 亚洲一区二区美女| 国产精品国产三级国产| 精品国产精品网麻豆系列| 91国偷自产一区二区使用方法| 国产一区二区三区在线观看精品 | 久久精品一区二区三区四区| 欧洲一区在线观看| 成人黄色一级视频| 国产乱人伦精品一区二区在线观看 | 亚洲视频免费看| 国产午夜亚洲精品不卡 | 成人免费毛片app| 九九视频精品免费| 免费av成人在线| 婷婷开心久久网| 亚洲一区二区三区小说| 国产精品福利一区二区三区| 久久久久久久久伊人| 欧美一区二区在线播放| 欧美日韩激情在线| 欧美性大战久久| 欧洲日韩一区二区三区| 99麻豆久久久国产精品免费 | 热久久国产精品| 日韩国产一区二| 日本 国产 欧美色综合| 日韩国产精品久久| 免费在线观看日韩欧美| 日韩国产欧美在线观看| 日韩精品91亚洲二区在线观看| 午夜精品久久久久影视| 亚洲大片在线观看| 五月天激情综合| 五月婷婷激情综合网| 秋霞国产午夜精品免费视频| 日本成人中文字幕| 精品一区二区三区视频 | 精品欧美久久久| 久久综合狠狠综合久久综合88| 久久综合色8888| 国产欧美日产一区| 中文字幕亚洲不卡| 亚洲影视在线播放| 日韩国产一二三区| 国产一区二区不卡| 国产suv精品一区二区6| av电影天堂一区二区在线| 欧美综合在线视频| 日韩精品中文字幕一区二区三区| 日韩免费电影网站| 国产精品国产三级国产有无不卡| 亚洲色图一区二区| 五月天激情综合| 国产精品一区二区x88av| 波多野结衣中文字幕一区| 欧洲av一区二区嗯嗯嗯啊| 欧美一三区三区四区免费在线看 | 亚洲国产成人私人影院tom| 亚洲人成人一区二区在线观看| 亚洲午夜激情网站| 麻豆91免费观看| 91啪亚洲精品| 欧美一区二区在线视频| 欧美国产欧美综合| 亚洲3atv精品一区二区三区| 免费观看在线色综合| 不卡影院免费观看| 欧美一区二区网站| 日韩理论片网站| 精品一区二区在线免费观看| 99久久久精品免费观看国产蜜| 这里只有精品视频在线观看| 国产嫩草影院久久久久| 亚洲va韩国va欧美va| 处破女av一区二区| 欧美日韩电影在线播放| 国产精品美女久久久久久久久久久 | 国产精品丝袜一区| 美国毛片一区二区三区| av在线不卡免费看| 欧美xxxxxxxxx| 亚洲444eee在线观看| 99视频精品全部免费在线| 日韩女优视频免费观看| 亚洲在线视频免费观看| 国产99久久久久久免费看农村| 欧美日韩三级在线| 亚洲三级免费观看| 国产福利精品一区二区| 日韩欧美精品在线| 亚洲成人av电影| 99这里都是精品| 久久久国际精品| 精品一区二区三区在线观看| 精品视频一区二区三区免费| 亚洲三级电影网站| av亚洲精华国产精华| 久久精品亚洲精品国产欧美| 另类人妖一区二区av| 精品视频免费在线| 一区二区三区在线视频观看58| 国产999精品久久| 国产亚洲综合色| 国产露脸91国语对白| 欧美一级片在线观看| 午夜精品久久久久久久久久 | 欧美一级片在线看| 丝袜美腿亚洲色图| 3d动漫精品啪啪一区二区竹菊| 亚洲精品videosex极品| 91久久精品一区二区三区| 亚洲精品第一国产综合野| 色综合久久久久久久| 亚洲欧美激情一区二区| 色综合视频在线观看|