Math

ArcTan Block

Inverse tangent (arc tangent) function: y = atan(u)

Open ArcTan in BlockWerk →

# ArcTan Block Documentation

Overview

The ArcTan (inverse tangent) block computes the angle whose tangent equals the input.

Inputs

Outputs

Parameters

None

Mathematical Definition

y(t) = arctan(u(t)) = atan(u(t))

Where: u ∈ ℝ (all reals), y ∈ (-π/2, π/2)

Behavior

Examples

Example 1: Basic Inverse Tangent

Example 2: Slope-to-Angle Conversion

Slope (rise/run) → ArcTan → Angle (radians)
Useful for incline measurements

Common Use Cases

1. Slope-to-angle conversion: Convert rise/run to angle 2. Phase unwrapping: Alternative to atan2 for 2-quadrant angles 3. Feedback saturation: Natural saturation limiting signal to ±π/2 4. Nonlinear gain: Smooth nonlinear gain function

Comparison with ArcSin and ArcCos

Full Angle Recovery

For recovering angles in the full range [0, 2π], use ArcTan2 (future block) instead:

(x, y) → ArcTan2 → θ ∈ [0, 2π]

See Also