an: Complex unit phasor of the given angle in degrees.

View source: R/filter.R

anR 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)

signal documentation built on June 26, 2024, 9:06 a.m.

Related to an in signal...