I'm trying to plot the function
g(w) = wCw + w
where C = [[2 1],[3 1]] and w is also a 2x2 matrix.
I'm not sure how I should plot this in Python. I thought I might do something with the meshgrid function or somehow make a 3D plot?? But honestly, I'm not sure.