> eprofit=[0.00034, 0.00076, 0.00058, 0.00131, 0.00026, 0.00108, 0.00021, 0.00022, 0.00035, 0.00026].
ecov=[0.9300,0.4500,0.2900,0.2800,0.7400,0.3500,0.2000,0.7500,0.2800,0.6400;0.4500,0.6400,0.2400,0.2600,0.4300,0.2600,0.1300,0.4300,0.1900,0.3700;0.2900,0.2400,0.8600,0.1900,0.2800,0.1700,0.0700,0.2800,0.1100,0.2600;0.2800,0.2600,0.1900,0.7700,0.3000,0.1600,0.0700,0.2800,0.1000,0.2500;0.7400,0.4300,0.2800,0.3000,0.8100,0.3500,0.2100,0.7300,0.2800,0.6300;0.3500,0.2600,0.1700,0.1600,0.3500,0.5200,0.2600,0.3500,0.3200,0.3400;0.2000,0.1300,0.0700,0.0700,0.2100,0.2600,0.3100,0.2000,0.2700,0.2100;0.7500,0.4300,0.2800,0.2800,0.7300,0.3500,0.2000,0.8600,0.2700,0.6300;0.2800,0.1900,0.1100,0.1000,0.2800,0.3200,0.2700,0.2700,0.3500,0.2800;0.6400,0.3700,0.2600,0.2500,0.6300,0.3400,0.2100,0.6300,0.2800,0.6500]/10000 ;
Numberports=10;
[risk, profit, wit]=frontcon (eprofit ecov, numberports)