Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

an

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

Signal Processing

v0.7-6
GPL-2
Authors
Uwe Ligges [aut, cre] (new maintainer), Tom Short [aut] (port to R), Paul Kienzle [aut] (majority of the original sources), Sarah Schnackenberg [ctb] (various test cases and bug fixes), David Billinghurst [ctb], Hans-Werner Borchers [ctb], Andre Carezia [ctb], Pascal Dupuis [ctb], John W. Eaton [ctb], E. Farhi [ctb], Kai Habel [ctb], Kurt Hornik [ctb], Sebastian Krey [ctb], Bill Lash [ctb], Friedrich Leisch [ctb], Olaf Mersmann [ctb], Paulo Neis [ctb], Jaakko Ruohio [ctb], Julius O. Smith III [ctb], Doug Stewart [ctb], Andreas Weingessel [ctb]
Initial release
2015-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.