create_rect_planar_array()

Description: This function creates a planar array of rectangular transducers.

Usage

transducer = create_rect_planar_array(nx, ny, width, height, kerf_x, kerf_y);
transducer = create_rect_planar_array(nx, ny, width, height, kerf_x, kerf_y,center);
transducer = create_rect_planar_array(nx, ny, width, height, kerf_x, kerf_y,center, override); 

Arguments

Output Parameters

Notes

The center of the array is defined to be the geometric center

of the rectangle that bounds the array. All coordinates are expressed in meters.

Transducer arrays used one-dimensional indexing prior to FOCUS version 0.332. One-dimensional indexing is still possible, though the indices may not match those used in older versions of FOCUS.

Calling this function with no arguments will cause the program to prompt the user for each required value.

Example

% Create a 32 x 1 element planar array of 0.5mm x 10mm elements
el_x = 32;
el_y = 1;
width = 0.6e-3;
height = 10e-3;
kerf_x = 0.3e-3;
kerf_y = 0;

xdcr = create_rect_planar_array(el_x, el_y, width, height, kerf_x, kerf_y);
draw_array(xdcr);

Click on an image to view an enlarged version.