Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by purvisl

  1. purvisl

    How to program PLC for least Squares

    This is sort of a dirty solution but you place your x data in the array starting at f9:0 and the corrosponding y data in F10:0. Then you place the number of data points in N7:1. Call the routine and it returns A in f11:12 and B in F11:16. Use the equation y = A + Bx for your curve fitting. I...

Part and Inventory Search