Sine and Cosine (G Dataflow)

Computes both the sine and cosine of a specified value (x) in radians.

Use this node only when you need both results.  x

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time. sin

Result of the operation.

This output assumes the same numeric representation as x. When x is of the form x = a + b i, that is, when x is complex, the following equation defines sin:
$\mathrm{sin}\left(x\right)=\mathrm{sin}\left(a\right)*\mathrm{cosh}\left(b\right)+i\left(\mathrm{cos}\left(a\right)*\mathrm{sinh}\left(b\right)\right)$

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time. cos

Result of the operation.

This output assumes the same numeric representation as x. When x is of the form x = a + b i, that is, when x is complex, the following equation defines cos:
$\mathrm{cos}\left(x\right)=\mathrm{cos}\left(a\right)*\mathrm{cosh}\left(b\right)+i\left(-\mathrm{sin}\left(a\right)*\mathrm{sinh}\left(b\right)\right)$

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an optimized FPGA VI)

Web Server: Supported in VIs that run in a web application