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

vektorize(v,A,J,K)
%% Authored by Joshua Soneson 2007
function[v] = vektorize(v,A,J,K)
%% converts JxK matrix into a column-stacked J*Kx1 vector

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

Contact us