circularPiston_appr: Function used for approximating the beam pattern of the beam...

View source: R/circularPiston_appr.R

besselJ1_appr_angmaxR Documentation

Function used for approximating the beam pattern of the beam pattern from a circular piston. The values past the 8 side lobe is approximated by a line (see examples).

Description

Function used for approximating the beam pattern of the beam pattern from a circular piston. The values past the 8 side lobe is approximated by a line (see examples).

Usage

besselJ1_appr_angmax

Arguments

x

is a vector.

Format

An object of class numeric of length 1.

Examples

## Not run: 
x <- seq(0, 100, length.out=1e5)
system.time(c1 <- circularPiston_appr(x))
system.time(c2 <- (2 * besselJ(x, 1) / x)^2)
plot(10*log10(c1), type="l")
lines(10*log10(c2), type="l", col=2)

## End(Not run)


arnejohannesholmin/echoIBM documentation built on April 14, 2024, 11:37 p.m.