an {signal}R Documentation

Complex unit phasor of the given angle in degrees.

Description

Complex unit phasor of the given angle in degrees.

Usage

  an(degrees)

Arguments

degrees

Angle in degrees.

Details

This is a utility function to make it easier to specify phasor values as a magnitude times an angle in degrees.

Value

A complex value or array of exp(1i*degrees*pi/180).

Examples

  120*an(30) + 125*an(-160)

[Package signal version 1.8-1 Index]