i am working for a small project at home , and for it i am using an infra red sensor . which returns a voltage value relative to distance .(adsbygoogle = window.adsbygoogle || []).push({});

this picture describes the output : (given by the datasheet) :

(the picture is highly precise)

now all of the distances that i will be getting are superior than 8cm so it's a bijective function for me . within the micro-controller , the only solution that was able to find is to make a large array of floats with segments of voltage and the corresponding distance values . i need high precision with this project so that solution would consume a massive amount of memory and would cut down from other of the project's aspects .

is there anyway i can find a function that mimic with good precision the behavior of the evolution these values ?

thank you .

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# I Can i get a mathematical function out of this picture?

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - mathematical function picture | Date |
---|---|

What does function mean in mathematics? | Oct 24, 2015 |

Applied maths, monotonic function | Aug 17, 2015 |

Mathematical function | Jun 22, 2012 |

Software to plot graphs of mathematical functions | Sep 7, 2004 |

What the mathematical XOR function is | Jun 6, 2003 |

**Physics Forums - The Fusion of Science and Community**