MATLAB Answers


Solving for a data point

Asked by Kyle
on 19 Mar 2013

I have an equation

pt2pt1=@ (M) (((y+1)*M^2)/((y-1)*M^2+2))^(y/(y-1))*((y+1)/(2*y*M^2-(y-1)))^(1/(y-1))

I know the value of pt2pt1 and I want to find the corresponding M value (y=1.4). Obviously solving for M algebraically is not ideal or even possible so is there a command to help me out? (pt2pt1=0.6925)

I have plotted the function and used the data cursor to get my answer but I would like it to be a little more autonomous.




No products are associated with this question.

1 Answer

Answer by bym
on 19 Mar 2013

pt2pt1 = 


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!