Particular Value from a plot

13 views (last 30 days)
Sarang Chaudhari
Sarang Chaudhari on 19 Jun 2020
Answered: Nipun Agarwal on 19 Jun 2020
Hello ,
I have a plot of Compressor HP Vs RPM at different known PSI values, I want to find the value of HP for particular RPM for unknown any PSI value, How can I find that using Matlab. Is there anu function or code to help me out with this?

Answers (1)

Nipun Agarwal
Nipun Agarwal on 19 Jun 2020
Hey,
You can get the plot information by interpolating the data. For 1-D data interpolation you can refer interp1 function of MATLAB and for 2-D data you can refer interp2 function of MATLAB. Both functions can be accessed from the below links.
This can also be tried to be solved by finding the plot equations and getting the value of unknown variable by putting the known variable. If the graph looks linear in a region, it can be approximated to get approximate values as well.
To do so, you can try curve fitting to the available data. You can refer this link for more information regarding the same.

Categories

Find more on Graphics Objects in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!