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

Description Usage Arguments Details Value Examples

View source: R/filter.R

Description

Complex unit phasor of the given angle in degrees.

Usage

1
  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

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

Example output

Attaching package: 'signal'

The following objects are masked from 'package:stats':

    filter, poly

[1] -13.53853+17.24748i

signal documentation built on May 25, 2021, 3 p.m.

Related to an in signal...