MATLAB Answers

0

Ray trace using BELLHOP

Asked by Ammar Ahsan on 21 Jul 2019
Latest activity Commented on by Jay Patel on 5 Nov 2019
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 Comment

Jay Patel on 5 Nov 2019
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

Sign in to comment.

0 Answers