I am trying to make a phase diagram for three variables .
a=[0.01 0.5 1 1.5 2]; b=[0.1 1 2 5 10];
and their mean squared error value in variable 3 (having 5 rows and 5 columns)
mse =
0.0000 0.0284 0.0311 0.0177 0.0112
0.0113 0.0381 0.0449 0.0339 0.0236
0.0517 0.0800 0.0768 0.0701 0.0659
0.1052 0.1099 0.1128 0.1154 0.1104
0.1499 0.1382 0.1350 0.1499 0.1504
imagesc(a,b,mse)
I have tried contour, contourf, imagesc and many different builtin functions but I couldn't get the required phase diagram. My results looks like this below [. I am new to MATLAB could someone please point out my mistake? I need the first one as a result
I tried this as well
figure; pcolor(a,b,mse); shading interp;
still the results look different, something like this