資源簡(jiǎn)介
利用matlab工具進(jìn)行對(duì)不同海洋環(huán)境下聲場(chǎng)干涉圖案的獲取,需要安裝atwin聲學(xué)工具。
代碼片段和文件信息
%%?***********Sound?Pressure?Calculation?using?KRAKEN*************
%————————————Designed?by?Okazaki_Jian———————————————
%————————————————07/03/2015——————————————————
%——————————————All?Rights?Reserved———————————————
%————This?programm?needs?the?installation?of?‘a(chǎn)coustic?toolbox‘————
%%?Setting?Environment?Variables
%%?Resetting?Workspace
clc;
clear?all
close?all
lofar_env?=?‘KRAKEN_Munk‘;
dos([‘del?‘?lofar_env?‘.mod‘]);
dos([‘del?‘?lofar_env?‘.shd‘]);
dos([‘del?‘?lofar_env?‘.prt‘]);
%%?TL?Calculation?using?KRAKEN
rdt?=?200;?%depth?of?reciever
????f?=?100;
????cd(?‘D:\deep_sea_waveguide\Main_Programme‘?);
????%attach?‘.env‘?to?change?source?frequency
????fir?=?fopen(?[lofar_env?‘.env‘]??‘r+‘?);
????fseek(fir?15??-1?);
????fprintf(?fir?‘%4.6f‘?f?);
????fclose(‘a(chǎn)ll‘);
????runkraken?=?which(?‘krakenc.exe‘?);
????eval(?[?‘!?“‘?runkraken?‘“?‘?lofar_env?]?);
????%?pressure?calculation?using?field
????plotssp(lofar_env);
????sofarmidflp?=?[lofa
評(píng)論
共有 條評(píng)論