Servo Magazine (January 2008)

Compute Square Roots Fast

By Tim Paterson    View In Digital Edition  


My particular application — as we discuss here — is in filtering input data used to calibrate the odometer in a road rally computer. After computing a best-fit line using a linear regression on a set of data points, square roots are needed to compute the distance of each data point from the line. If a data point is too far off the line, it is discarded on the assumption of human error and the line is recalculated. Square Root on a PIC in the November ‘06 issue of Nuts & Volts ...

:::

Read This Article!
If you’re a subscriber and your subscription includes this issue of SERVO, you can read this article in our digital edition by clicking the blue "View In Digital Edition" button above.. Use the email address associated with your subscriber services account to login.

If you're a member of our Preferred Subscriber Network, not only will the magic blue button let you read this article, but EVERY article in EVERY issue is yours to enjoy! Over a decades worth of content is stored in our digital archive!

If you’re not a subscriber, you can still view a few sample pages of our digital edition or subscribe here for full digital access and/or print delivery. Also, as you browse around our site, you will find selected articles have been posted in their entirety for you to enjoy.

Downloads

01.2008 | Complete program listing with the macro definitions



Article Comments