# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

## Plot Array Directivity Using Sensor Array Analyzer App

The `sensorArrayAnalyzer` is a Matlab™ App that lets you examine important properties of a phased array such as shape and directivity.

### Open sensorArrayAnalyzer App

When you type `sensorArrayAnalyzer` from the command line or select the app from the App Toolstrip, an interactive window opens. The default window shows the geometry of a 4-element uniform linear array. You can then select various options to analyze different arrays, other element types, geometry, and directivity.

`sensorArrayAnalyzer;`

### Create 3D Directivity Plot of 4-by-4 URA

As an example, use the app to create a 4-by-4 uniform rectangular array of cosine antenna elements and then show the array directivity. Space the elements 0.4 wavelengths apart.

1. Set the Array Type to `Uniform Rectangular`

2. Set the Element Type to `Cosine Antenna`

3. Set the Size of the arry to `[4 4]`

4. Set the Element Spacing to `[0.4 0.4]` wavelengths

5. Make sure to select the spacing units to wavelength

6. Select the Steering check box

7. Set the Steer Angle to `[-30,0]` to show a steered array

8. Choose the type of View as `3D Array Directivity`

9. Choose the view Option as `Polar` to get a polar diagram

10. Select the Show Geometry check box to show the array shape as well

Then, you will see a plot of array directivity similar to this.

```filenm = fullfile(matlabroot,'examples','phased','SensorArrayAnalyzerAppExample_02.png'); im = imread(filenm); figure('Position',[315 160 906 690]) image(im) axis off set(gca,'Position',[0.078 0.077 0.845 0.896])```