Code covered by the BSD License  

Highlights from
High intensity focused ultrasound simulator

High intensity focused ultrasound simulator

by

 

Simulates high intensity focused ultrasound beams and heating effects in layered media

matrixize(v,A,J,K)
%% Authored by Joshua Soneson 2007
function[A] = matrixize(v,A,J,K)
%% Converts J*Kx1 vector into JxK matrix

v=conj(v');
for j=1:J
  A(j,1:K) = v(K*(j-1)+[1:K]);
end

Contact us