Plotting a matrix of z-values into 3d-space

I have a 2-dimensional matrix of Z values, and want to plot these in 3d space. Each row and column corresponds to my z-values according to different x-values and y-values.
How can I best go about this?
I know surf(A), where A is my matrix, will create the surface, but I want to be able to change the x and y axes values.
Apologies if this is unclear.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 4 Mar 2015

Edited:

on 4 Mar 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!