about surface plot and its code
显示 更早的评论
I have plotted a surface using 3 variables from excel data and obtained a surface plot. How can I find a code for the generation of a dependent variable when i have two independent variables.
2 个评论
KSSV
2017-9-13
Question is not clear.....
Rik
2017-9-13
It sounds to me like you have a 3D point cloud in an Excel file and would like to fit a function Z=f(X,Y). If this is the case, it is very difficult (if not impossible) to provide a general solution. You can use griddata if the points you want to interpolate are within your data range. If you want to extrapolate, things are more difficult, as some releases will return NaN values (which is badly documented behavior).
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!