I have a problem with focusing the transmitter. I wanted to use the focus function however it doesn't seem to "focus" on the scatterer i put.
I am a bit confused about the focus_distance; shall I use (kgrid.x(gridpoint)) or
gridpoint*(kgrid.dx)?
Thank you.
k-Wave
A MATLAB toolbox for the time-domain 
 simulation of acoustic wave fields
	Focused transmitter
(3 posts) (2 voices)- 
		Posted 6 years ago #
 - 
		
Hi Mariam,
Do you mean the
focus_positioninput of thefocusfunction? If so, then it should be in the Cartesian coordinate system used bykWaveGrid. For example, if you want to focus at the grid point[30, 20, 10], then set this to:focus_position = [kgrid.x_vec(30), kgrid.y_vec(20), kgrid.z_vec(10)];Brad.
Posted 6 years ago # - 
		
Thank you so much Brad! :)
Posted 6 years ago # 
Reply
You must log in to post.