how to plot a matrix values in 3d plot
6 views (last 30 days)
Star Strider on 26 Sep 2021
It would be nice to have the ‘z’ matrix as well, however in its absence, I will create one.
z = x*y.';;
surf(x, y, z)
Use semicolons (;) not colons (:) to do vertical concatenation. They are two entirely different operators, and are used for entirely different purpoases.