Particular Value from a plot

10 次查看(过去 30 天)
Sarang Chaudhari
Sarang Chaudhari 2020-6-19
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?

回答(1 个)

Nipun Agarwal
Nipun Agarwal 2020-6-19
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.

类别

Help CenterFile Exchange 中查找有关 Least Squares 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by