s.function for inverse signal
Show older comments
I have signal Ax+B its out from block simulink I want to inverse this signl with S-function what I will do? thinks
Answers (1)
Walter Roberson
on 26 Aug 2011
0 votes
When you say "inverse", do you mean you want to multiply it by negative 1, or you want to subtract each point from the logical maximum (so minimums become maxima and the other way around); or do you mean that you want to create the inverse function so that if y = f(x) then f_inverse(y) would be x ?
If you mean the inverse function (exchange of axes), then is your function strictly increasing or strictly decreasing? If it is not then there will be some y = f(x1) = f(x2) and then you would not know whether f_inverse(y) should return x1 or x2 .
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!