Answer the question
In order to leave comments, you need to log in
How to get function argument given function value?
There is a graph of the dependence of one array on another (digital signal). It is necessary to obtain the corresponding values of another for specific values of one array. What function is responsible for this? Can you give an example / poke where to look?
Thanks in advance
Answer the question
In order to leave comments, you need to log in
If you have a mathematical function that specifies the transition of a value from set X to set Y, for example y = x ** 2, then you need to write a python implementation of this function, and then apply it to each value from the first array. You can use cyclic constructions, you can use the function map()
.
If there is no function, but there is a graph, then first we obtain an approximation of this function (see approximation ), and then we carry out the same manipulations as in the first paragraph.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question