MATLAB: In a 3D plot, what are the independent and dependent variables
independentvariable
When using the plot3() command, which inputs are the independent variables and which inputs are dependent variables?
Best Answer
The first two arguments toplot3() (usually‘X’ and‘Y’) are theindependent variables. The third (usually‘Z’) is thedependent variable. (This is the same forsurf(),mesh(), andcontour() plots.)
Best Answer