⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getmaxsoundspeed.m

📁 水声模型 很不错的东西
💻 M
字号:
function CpMax = GetMaxSoundSpeed(Env)
%Returns the maximum compressional sound speed for the Environment

if isempty(Env.LayerArr)
   CpMax = [];
else
   NLayer = length(Env.LayerArr);
	CpMax = GetMaxSoundSpeed(Env.LayerArr{1});
	for ILayer = 2:NLayer
   	CpTemp = GetMaxSoundSpeed(Env.LayerArr{ILayer});
      if CpTemp > CpMax
         CpMax = CpTemp;
      end
   end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -