Table Of Contents

Sine and Cosine (Multirate Dataflow)

Last Modified: January 23, 2017

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

Use this node only when you need both results.

connector_pane_image
datatype_icon

x

An input to this operation.

This input supports scalar numbers and fixed-size 1-dimensional arrays 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.

datatype_icon

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:
sin ( x ) = sin ( a ) * cosh ( b ) + i ( cos ( a ) * sinh ( b ) )

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.

datatype_icon

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:
cos ( x ) = cos ( a ) * cosh ( b ) + i ( sin ( a ) * sinh ( b ) )

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


Recently Viewed Topics