Rewrite a function in terms of parameter

Hello,
I have a function in terms of two parameters x and y and I would like to rewrite this function only in terms of x/y. Is it possible to do so with matlab ?
Thank you

2 Comments

Your question is too vague to be answered.
Sorry let me be more specific,
I have this equation and I would like to write it only in terms of .
Thank you for your help

Sign in to comment.

Answers (1)

https://www.mathworks.com/matlabcentral/answers/1701185-problems-with-y-x-division-isolation?s_tid=srchtitle

6 Comments

Hello,
Thank you for your answer but I'm not sure to understand it ....
You can eliminate either x or y but not both, not with that equation.
-((a - x)*(x + 2))/((2*a + x)*(x - 1))
cannot be rewritten without the x
Hum it is problematic because the interest of having my equation in terms of a = x/y is : I know 'a' but I don't know x and y separately. That's why I need to rewrite my equation.
I guess my problem is not solvable.
Thank you for your help
consider your equation
((x/2 + 1)*(y - 1))/((y/2 + 1)*(x - 1))
Substitute x=2*y, which would be x/y=2. Do you get out an expression that is constant? No, you get
((y - 1)*(y + 1))/((2*y - 1)*(y/2 + 1))
and you can fplot that to see a pole at -2 and a pole at 1/2, so the function covers an infinite range for a=2
So knowing the ratio is not enough.
Okay maybe let me add something that could help,
My equation is in fact : ((x/2 + 1)*(y - 1))/((y/2 + 1)*(x - 1))
I know from experimental where and y are fixed and and x vary.
I would like to check if my experimental result follows the equation that I derived.
As I said I know separte values of but for x and y I only know (due to assumptions)

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 26 Apr 2022

Commented:

on 26 Apr 2022

Community Treasure Hunt

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

Start Hunting!