-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcvsp.m
8 lines (8 loc) · 2.34 KB
/
cvsp.m
1
2
3
4
5
6
7
8
InvestmentReturns=[20.0,18.0,16.0,14.0,12.0,10.0,8.0,6.0,4.0,2.0,0.0,-2.0,-4.0,-6.0,-8.0,-10.0,-12.0,-14.0,-16.0,-18.0,;20.001734153,18.0026012295,16.0039018442,14.0058527663,12.0087791495,10.0131687243,8.01975308642,6.02962962963,4.04444444444,2.06666666667,0.1,-1.85,-3.775,-5.6625,-7.49375,-9.240625,-10.8609375,-12.29140625,-13.437109375,-14.1556640625,;20.003468306,18.005202459,16.0078036885,14.0117055327,12.017558299,10.0263374486,8.03950617284,6.05925925926,4.08888888889,2.13333333333,0.2,-1.7,-3.55,-5.325,-6.9875,-8.48125,-9.721875,-10.5828125,-10.87421875,-10.311328125,;20.005202459,18.0078036885,16.0117055327,14.017558299,12.0263374486,10.0395061728,8.05925925926,6.08888888889,4.13333333333,2.2,0.3,-1.55,-3.325,-4.9875,-6.48125,-7.721875,-8.5828125,-8.87421875,-8.311328125,-6.4669921875,;20.006936612,18.0104049179,16.0156073769,14.0234110654,12.0351165981,10.0526748971,8.07901234568,6.11851851852,4.17777777778,2.26666666667,0.4,-1.4,-3.1,-4.65,-5.975,-6.9625,-7.44375,-7.165625,-5.7484375,-2.62265625,;20.008670765,18.0130061474,16.0195092212,14.0292638317,12.0438957476,10.0658436214,8.0987654321,6.14814814815,4.22222222222,2.33333333333,0.5,-1.25,-2.875,-4.3125,-5.46875,-6.203125,-6.3046875,-5.45703125,-3.185546875,1.2216796875,;20.0104049179,18.0156073769,16.0234110654,14.0351165981,12.0526748971,10.0790123457,8.11851851852,6.17777777778,4.26666666667,2.4,0.6,-1.1,-2.65,-3.975,-4.9625,-5.44375,-5.165625,-3.7484375,-0.62265625,5.066015625,;20.0121390709,18.0182086064,16.0273129096,14.0409693644,12.0614540466,10.09218107,8.13827160494,6.20740740741,4.31111111111,2.46666666667,0.7,-0.95,-2.425,-3.6375,-4.45625,-4.684375,-4.0265625,-2.03984375,1.940234375,8.9103515625,;20.0138732239,18.0208098359,16.0312147538,14.0468221308,12.0702331962,10.1053497942,8.15802469136,6.23703703704,4.35555555556,2.53333333333,0.8,-0.8,-2.2,-3.3,-3.95,-3.925,-2.8875,-0.33125,4.503125,12.7546875,;20.0156073769,18.0234110654,16.0351165981,14.0526748971,12.0790123457,10.1185185185,8.17777777778,6.26666666667,4.4,2.6,0.9,-0.65,-1.975,-2.9625,-3.44375,-3.165625,-1.7484375,1.37734375,7.066015625,16.5990234375,;];
xName=[-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,];
yName=[0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,];
surf(xName,yName,InvestmentReturns);
view(0,90); shading interp;colorbar;
xlabel("Complexity");ylabel("Time Invested");
title("Productivity");
axis("tight");