How do I add error bars to the data points of a fitted surface?

Hi,
I fitted a polynomial surface to a set of data points. Now, I want to add the standard deviation for every data point used in the fitting process. Every example for errorbar found on the documentation is for 2D plots, so I don't know how to proceed.

Asked:

on 16 Jul 2015

Answered:

on 16 Dec 2020

Community Treasure Hunt

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

Start Hunting!