about surface plot and its code
Ältere Kommentare anzeigen
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 Kommentare
KSSV
am 13 Sep. 2017
Question is not clear.....
Rik
am 13 Sep. 2017
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).
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!