Ray trace using BELLHOP

53 ビュー (過去 30 日間)
Ammar Ahsan
Ammar Ahsan 2019 年 7 月 21 日
回答済み: Ranjani G 2022 年 2 月 26 日
Hey!i am working on ray tracing using BELLHOP .I am stuck in its different plot functions .Does anyone share code plot function like plotray,plotssp etc. Thanks
  1 件のコメント
Jay Patel
Jay Patel 2019 年 11 月 5 日
Here is the some examples for the bellhop output.
subplot(2,1,1)
counter = counter + 1 ; figure(counter)
plot( c , depths ), box on, grid on, view(0,-90)
xlabel('Sound speen (m/s)')
ylabel('Depth (m)')
title('Supply profile to bellhop')
subplot(2,1,2)
switch output_option
case '''C'''
plotshd( 'munkp.shd' ), box on, hold on % to plot *.shd , make sure you supply extension as well with file name.
plot(rati, zati)
plot(rbty,zbty)
%plotssp( 'munkp' )
hold off
case '''E'''
plotray( 'munkp' ), box on, hold on
plot(rati, zati)
plot(rbty,zbty)
hold off
case '''R'''
plotray( 'munkp' ), box on, hold on % to Plot ray trace P.S. No need to give extension.
plot(rati, zati)
plot(rbty,zbty)
hold off
case '''IB'''
plotshd( 'munkp.shd' ), box on, hold on
plot(rati, zati)
plot(rbty,zbty)
%plotssp( 'munkp' )
hold off

サインインしてコメントする。

回答 (1 件)

Ranjani G
Ranjani G 2022 年 2 月 26 日
  1. what is counter? This variable is not intialized at all.
  2. There are different input files which needs to be read first using load("filename').,which will have SSP namely the depth and velocity values.

カテゴリ

Help Center および File ExchangeMultirate and Multistage Filters についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by