Plot contour map of the residual surface
2 views (last 30 days)
Show older comments
Hello everyone! So I'm trying to 1)plot the contour map of the residual and energy surface, 2)3D plot the residual and energy surface given only a 2X2 A Matrix and 2x1 b Matrix. For example A= [1 2;1 0] b=[1;1]
Could anybody help me out? I'm not sure how to start this. Thanks in advance!
1 Comment
Image Analyst
on 28 Sep 2014
Which (A or b) is the residual and which is the energy surface? It doesn't make much sense to plot a surface when you have only two (x,y) coordinates, like you have for A. A surface must have at least 3 points to form a plane. I think of residuals as the difference between your fitted data values and the actual (noisy) data values. What is your definition?
Answers (0)
See Also
Categories
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!