Search code examples
matlabequation-solving

How obtain values by solving a formula


How I can obtain the values of x and y from solving

100.*x.*3.2.*1e5-((exp(y.*x)-1).^1.5./(y.*x.*exp(y.*x)).^0.5) = 0

I know how to plot it by following:

ezplot('100.*x.*3.2.*1e5-((exp(y.*x)-1).^1.5./(y.*x.*exp(y.*x)).^0.5)', [xmin xmax ymin ymax])

Solution

  • h=ezplot('100.*x.*3.2.*1e5-((exp(y.*x)-1).^1.5./(y.*x.*exp(y.*x)).^0.5)', [xmin xmax ymin ymax])
    XData = get(h, 'contourMatrix');
    x=XData(1,:)'
    y=XData(2,:)'