NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Inverse Sine - asin(theta)

VERSION 3

Created on: Oct 14, 2008 2:38 PM by Ben_B - Last Modified:  Oct 29, 2008 4:46 PM by Ben_B

This component of FPGA code contains a look-up table for an arc sine function.  The LUT takes a value for sin(theta) in the range of 0 to 1023 which corresponds to values of sin(theta) between -1 and 1.  The output of the LUT is the value of theta between -512 and 512 which corresponds to theta values between -pi/2 and pi/2.  The image below shows the block diagram example using the LUT.

 

If anything needs to be changed with respect to the domain, range or resolution of the LUT, "Init - asin LUT.vi" can be used to initialize the LUT with the proper values.

 

asin.JPG

 

Downloads:
Average User Rating
(1 rating)




There are no comments on this document

More Like This

  • Retrieving data ...