Main Content

numGridsToSpacing

Calculate grid spacing in grid for reflectorGrid object

Description

example

numGridsToSpacing(antenna,numGrids,GridWidth) calculates the spacing between cells in the grid given the number of grid cells, numGrids, and the width of the grid cells, GridWidth.

Examples

expand all

Calculate the spacing between grid cells in the reflectorGrid antenna object with given number of grid cells as 4 and the grid width of 0.026 m.

ant = reflectorGrid;
numGridsToSpacing(ant,4,0.026)
ans = 0.0240

Input Arguments

expand all

Grid reflector-backed antenna, specified as a reflectorGrid object.

Number of grid cells in the reflector, specified as a positive scalar.

Width of each grid cell of the grid reflector-backed antenna, specified as a positive scalar in meters.

Example: numGridsToSpacing(ant,4,0.3);

Introduced in R2020b