i am having a problem getting a 3D plot of 3 variables i am working with. An example of my code and problem is thus:
%the x,y and z matrices below a composed of variables gotten from an experiment
x=a 100 by 1 matrix
Y=a 100 by 1 matrix
z=a 100 by 1 matrix
i want to plot x and y against z; to see the value of z for a corresponding x,y value.
this plot is to be a surface plot. i have read about the mesh and surf function but dont understand how this would be applied here because i have 3 different x,y,z values. I would be glad if a code for this is given to me based on the the x,y,z variables above thanks.