s.function for inverse signal
Afficher commentaires plus anciens
I have signal Ax+B its out from block simulink I want to inverse this signl with S-function what I will do? thinks
Réponses (1)
Walter Roberson
le 26 Août 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 .
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!