signal (version 1.8-0)

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

Description

Complex unit phasor of the given angle in degrees.

Usage

an(degrees)

Value

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

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.

Examples

Run this code
  120*an(30) + 125*an(-160)

Run the code above in your browser using DataLab