Basically I'm having lots of trouble creating code that could give me the two y values that could coorespond to one x avlue i have.
My x value is 2. I have a function thats a circle that i stored and plotted like,
f=@(x,y)2*x*y - 6*y - 6*x + 4*x^2 + 6*y^2 - 12;
I have two y values when x=2
I tried using the find function -----> index = find(x == 2)
but am only getting back one y value instead of two?
I search up all other examples on matlab answers but nothing is helping :(