Hello Hyperomi,
thanks for your reply, first my model is represented only as 3d cartesian coordinates without any faces or normals. How can I assign different medium properties(sound speed and density) for this points or for the lines jointing this coordinates?
I have already started as following :
% define the position of the object
object_y_pos = Ny/2 - 10 ;
object_x_pos = Nx/4;
object_z_pos = Nz/2;
object = zeros(Nx, Ny, Nz);
object(object_x_pos : end - end/4, object_y_pos : object_y_pos + thickness,object_z_pos: object_z_pos + thickness) = 1;
% assign the medium properties
medium.sound_speed = c_air*ones(Nx, Ny, Nz);
medium.sound_speed(object == 1) = c_object;
medium.density = rho_air*ones(Nx, Ny, Nz);
medium.density(object == 1) = rho_object;
However this is for the coordinates inside the medium which I already know. But now how can I set the same properties for my skeleton which is represented with 3d lines connecting the joints.
Thanks in advance