Particular Value from a plot
9 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
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.
0 Comments
See Also
Categories
Find more on Least Squares in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!