How do I plot MSE of 3D-values?

7 views (last 30 days)
kishintai on 23 Mar 2016
Commented: Mike Garrity on 25 Mar 2016
Hello all,
I've made a Monte Carlo Analysis and with the result of this data I'd like to plot the MSE in a XYZ-mode. The data is a matrix(n by 3) of respective XYZ values.
An example of what I'm trying to achieve is:
Thanks in advance

Answers (1)

Mike Garrity
Mike Garrity on 23 Mar 2016
Those plots would be created by the surfc function, but it wants gridded data and it sounds like you have scatter data.
I wrote a post on the MATLAB Graphics blog recently about how to get from scatter data to gridded data. It should be enough to get you started.
Mike Garrity
Mike Garrity on 25 Mar 2016
You basically just need to grid all of your variables using one of the techniques I described there.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by