rearrange an equation in simulink

2 visualizaciones (últimos 30 días)
Pablo Sevilla
Pablo Sevilla el 7 de Sept. de 2021
Comentada: Pablo Sevilla el 8 de Sept. de 2021
I have the following equation modelled in simulink:
y=D·sin(C·arctan(B·x -E·(B·x - arctan(B·x))))
where x is the input variable and B,C,D and E are constants. So I can obtain the y value for any x input.
Lets say I want the other way around, puting an y value as input and get x value. Is there any easy way to do that? or do I need to do all the math to get x=f(y) and create another model?
Thank you!

Respuestas (2)

Paul
Paul el 7 de Sept. de 2021
I'm not necessarily recommending this, but since you asked you can try an Algegbraic Constraint block.

cr
cr el 7 de Sept. de 2021
No known blocks/methods to pull off such a thing in Simulink. Did you try symbolic math?
  1 comentario
Pablo Sevilla
Pablo Sevilla el 8 de Sept. de 2021
Thanks for the suggestion. I've tried to get x=f(y) with the "solve" and "isolate" commands but it seems that matlab couldnt isolate x in this formula.

Iniciar sesión para comentar.

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by