You're probably going to have to explain what you mean by "inverse function". Both the AWD calculator and wavescan calculators have 1/x buttons - which to me is the "inverse" ... so presumably you mean something else?
Please explain precisely what you mean.
In reply to Andrew Beckett:
Thank you for your attention!
Maybe I didn't explain myself clearly,due to my poor English.what I mean by "inverse function" is a function that undoes another function. i.e. ,if a function is ƒ, then its inverse function is ƒ−1 .Further more,if ƒ(x)=y, then x=ƒ−1(y).
In reply to whusteryzh:
OK, I understand what the inverse function is from your description, but I don't really see how you could do that from a general waveform. You've got a waveform y, and you could use the xval() function to get hold of the x-values that this came from.
I'm struggling to see how you would know how to get the inverse function in general if you'd done some intermediate function, or why you'd even want to do this? It sounds more like something that would be useful if you were doing symbolic analysis, rather than looking at simulation results.
Even matlab doesn't have a generic inverse function - yes, it has the inverse of a number of operations, and things like matrix inversion, but I'm not sure what a generic inverse function would do. Maybe if I knew what you were actually trying to do with such a function, I might be able to suggest an alternative strategy?