Hello Dr. Brad, Dr. Cox, and all members,
I tried to use directivity_angle field name in cartesian, the code is
:
:
xPos = 30e-3;
yPos = 50e-3;
sensor.mask = [xPos;yPos];
sensor.directivity_angle = 0; %pi/3
sensor.record = {'p','p_final'};
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor);
a). However an error message "sensor.directivity_angle and sensor.mask must be the same size" appeared. Would you help how to use this fieldname in cartesian please.
b). And how to use directivity_angle in Source ? I want to give a special directivity in source as well as in sensor.
Sorry for my English.
Thank you