• Support PF! Buy your school textbooks, materials and every day products Here!

Logarithmic calibration

  • Thread starter macilak
  • Start date
1
0
Hello All,

I have a very impotant question for you. Any help is appreciated.

Given is a logarithmical function: y = log2x (2 is the base) and the y value is known.
I have to find out what is the x value in the fewest steps possible. It can be made by giving sample values for x and applying to the function, but the performance (timing) is a key value, so the process must be very quick. The known solution is to split the curve to lines and shrink the range of possibilities.

Later on I have to translate the solution into C++ and apply it for calibration.

Many thanks in advance for your help!
 

Tide

Science Advisor
Homework Helper
3,077
0
Are you constrained to solving the problem by iteration? You could just write [itex]x=2^y[/itex] and use the built-in functions.
 

Related Threads for: Logarithmic calibration

  • Last Post
Replies
0
Views
7K
  • Last Post
Replies
1
Views
755
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
4
Views
824
  • Last Post
2
Replies
28
Views
5K
  • Last Post
Replies
2
Views
558
  • Last Post
Replies
5
Views
4K
Replies
1
Views
2K
Top