How do I add error bars in the Z-axis to a surface plot?

I have MxN matrix with data and X coordinate vector that is N in length and Y coordinate vector that is M in length. I also have a MxN matrix with errors for the matrix with data.
How do I plot these error bars onto the surface plot?

Asked:

on 4 Feb 2016

Answered:

on 16 Dec 2019

Community Treasure Hunt

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

Start Hunting!