Hello, I have two gaussian variables and their probabilities.
The number of points is limited to 200 and I want to plot the probability on a 3D graph but I cannot succeed in get what I want. I have followed http://www.mathworks.com/matlabcentral/answers/220-3d-plot-from-imported-excel-data which is great but my output do not work. I wanted to have something with surf like http://upload.wikimedia.org/wikipedia/commons/c/ce/Gaussian_2d.png.
I attach my txt file content, if someone can give a suggestion or an idea how to solve it. Take into account that 1/4 of the gaussian is cut because of unphysical condition in that area.
81240.1600000000 67443 1.96409000000000e-0585302.1680000000 67443 9.92480000000000e-0589364.1760000000 67443 0.00034989300000000093426.1840000000 67443 0.00086060100000000097488.1920000000 67443 0.00147680000000000101550.200000000 67443 0.00176805200000000105612.208000000 67443 0.00147680000000000109674.216000000 67443 0.000860601000000000113736.224000000 67443 0.000349893000000000117798.232000000 67443 9.92480000000000e-05121860.240000000 67443 1.96409000000000e-0581240.1600000000 70815.1500000000 9.92474000000000e-0585302.1680000000 70815.1500000000 0.00050150900000000089364.1760000000 70815.1500000000 0.0017680400000000093426.1840000000 70815.1500000000 0.0043486930000000097488.1920000000 70815.1500000000 0.00746240300000000101550.200000000 70815.1500000000 0.00893412500000000105612.208000000 70815.1500000000 0.00746240300000000109674.216000000 70815.1500000000 0.00434869300000000113736.224000000 70815.1500000000 0.00176804000000000117798.232000000 70815.1500000000 0.000501509000000000121860.240000000 70815.1500000000 9.92474000000000e-0581240.1600000000 74187.3000000000 0.00034988900000000085302.1680000000 74187.3000000000 0.0017680320000000089364.1760000000 74187.3000000000 0.0062330880000000093426.1840000000 74187.3000000000 0.015330976000000097488.1920000000 74187.3000000000 0.0263081160000000101550.200000000 74187.3000000000 0.0314965560000000105612.208000000 74187.3000000000 0.0263081160000000109674.216000000 74187.3000000000 0.0153309760000000113736.224000000 74187.3000000000 0.00623308800000000117798.232000000 74187.3000000000 0.00176803200000000121860.240000000 74187.3000000000 0.00034988900000000081240.1600000000 77559.4500000000 0.00086058800000000085302.1680000000 77559.4500000000 0.0043486560000000089364.1760000000 77559.4500000000 0.015330922000000093426.1840000000 77559.4500000000 0.037708117000000097488.1920000000 77559.4500000000 0.0647075250000000101550.200000000 77559.4500000000 0.0774690280000000105612.208000000 77559.4500000000 0.0647075250000000109674.216000000 77559.4500000000 0.0377081170000000113736.224000000 77559.4500000000 0.0153309220000000117798.232000000 77559.4500000000 0.00434865600000000121860.240000000 77559.4500000000 0.00086058800000000081240.1600000000 80931.6000000000 0.0014767750000000085302.1680000000 80931.6000000000 0.0074623240000000089364.1760000000 80931.6000000000 0.026307967000000093426.1840000000 80931.6000000000 0.064707388000000097488.1920000000 80931.6000000000 0.111038557000000101550.200000000 80931.6000000000 0.132937383000000105612.208000000 80931.6000000000 0.111038557000000109674.216000000 80931.6000000000 0.0647073880000000113736.224000000 80931.6000000000 0.0263079670000000117798.232000000 80931.6000000000 0.00746232400000000121860.240000000 80931.6000000000 0.0014767750000000085302.1680000000 84303.7500000000 0.0089340240000000089364.1760000000 84303.7500000000 0.031496355000000093426.1840000000 84303.7500000000 0.077468808000000097488.1920000000 84303.7500000000 0.132937289000000101550.200000000 84303.7500000000 0.159154943000000105612.208000000 84303.7500000000 0.132937289000000109674.216000000 84303.7500000000 0.0774688080000000113736.224000000 84303.7500000000 0.0314963550000000117798.232000000 84303.7500000000 0.00893402400000000121860.240000000 84303.7500000000 0.0017680200000000089364.1760000000 87675.9000000000 0.026307967000000093426.1840000000 87675.9000000000 0.064707388000000097488.1920000000 87675.9000000000 0.111038557000000101550.200000000 87675.9000000000 0.132937383000000105612.208000000 87675.9000000000 0.111038557000000109674.216000000 87675.9000000000 0.0647073880000000113736.224000000 87675.9000000000 0.0263079670000000117798.232000000 87675.9000000000 0.00746232400000000121860.240000000 87675.9000000000 0.0014767750000000093426.1840000000 91048.0500000000 0.037708117000000097488.1920000000 91048.0500000000 0.0647075250000000101550.200000000 91048.0500000000 0.0774690280000000105612.208000000 91048.0500000000 0.0647075250000000109674.216000000 91048.0500000000 0.0377081170000000113736.224000000 91048.0500000000 0.0153309220000000117798.232000000 91048.0500000000 0.00434865600000000121860.240000000 91048.0500000000 0.00086058800000000097488.1920000000 94420.2000000000 0.0263081160000000101550.200000000 94420.2000000000 0.0314965560000000105612.208000000 94420.2000000000 0.0263081160000000109674.216000000 94420.2000000000 0.0153309760000000113736.224000000 94420.2000000000 0.00623308800000000117798.232000000 94420.2000000000 0.00176803200000000121860.240000000 94420.2000000000 0.000349889000000000101550.200000000 97792.3500000000 0.00893412500000000105612.208000000 97792.3500000000 0.00746240300000000109674.216000000 97792.3500000000 0.00434869300000000113736.224000000 97792.3500000000 0.00176804000000000117798.232000000 97792.3500000000 0.000501509000000000121860.240000000 97792.3500000000 9.92474000000000e-05101550.200000000 101164.500000000 0.00176805200000000105612.208000000 101164.500000000 0.00147680000000000109674.216000000 101164.500000000 0.000860601000000000113736.224000000 101164.500000000 0.000349893000000000117798.232000000 101164.500000000 9.92480000000000e-05121860.240000000 101164.500000000 1.96409000000000e-0582864.8000000000 68791.8400000000 7.82526000000000e-0587008.0400000000 68791.8400000000 0.00035135900000000091151.2800000000 68791.8400000000 0.0010847780000000095294.5200000000 68791.8400000000 0.0023028630000000099437.7600000000 68791.8400000000 0.00336150000000000103581 68791.8400000000 0.00337392700000000107724.240000000 68791.8400000000 0.00232849800000000111867.480000000 68791.8400000000 0.00110497800000000116010.720000000 68791.8400000000 0.000360553000000000120153.960000000 68791.8400000000 8.08951000000000e-05124297.200000000 68791.8400000000 1.24799000000000e-0582864.8000000000 72231.4320000000 0.00035135300000000087008.0400000000 72231.4320000000 0.0015775970000000091151.2800000000 72231.4320000000 0.0048706370000000095294.5200000000 72231.4320000000 0.010339824000000099437.7600000000 72231.4320000000 0.0150930890000000103581 72231.4320000000 0.0151488870000000107724.240000000 72231.4320000000 0.0104549250000000111867.480000000 72231.4320000000 0.00496133700000000116010.720000000 72231.4320000000 0.00161887800000000120153.960000000 72231.4320000000 0.000363218000000000124297.200000000 72231.4320000000 5.60348000000000e-0582864.8000000000 75671.0240000000 0.0010847430000000087008.0400000000 75671.0240000000 0.0048705590000000091151.2800000000 75671.0240000000 0.015037256000000095294.5200000000 75671.0240000000 0.031922430000000099437.7600000000 75671.0240000000 0.0465973180000000103581 75671.0240000000 0.0467695830000000107724.240000000 75671.0240000000 0.0322777820000000111867.480000000 75671.0240000000 0.0153172740000000116010.720000000 75671.0240000000 0.00499800700000000120153.960000000 75671.0240000000 0.00112137200000000124297.200000000 75671.0240000000 0.00017299800000000082864.8000000000 79110.6160000000 0.0023027520000000087008.0400000000 79110.6160000000 0.010339494000000091151.2800000000 79110.6160000000 0.031921924000000095294.5200000000 79110.6160000000 0.067766714000000099437.7600000000 79110.6160000000 0.0989193840000000103581 79110.6160000000 0.0992850790000000107724.240000000 79110.6160000000 0.0685210760000000111867.480000000 79110.6160000000 0.0325163630000000116010.720000000 79110.6160000000 0.0106100490000000120153.960000000 79110.6160000000 0.00238051200000000124297.200000000 79110.6160000000 0.00036724900000000082864.8000000000 82550.2080000000 0.0033612850000000087008.0400000000 82550.2080000000 0.015092372000000091151.2800000000 82550.2080000000 0.046595851000000095294.5200000000 82550.2080000000 0.098917838000000099437.7600000000 82550.2080000000 0.144390822000000103581 82550.2080000000 0.144924620000000107724.240000000 82550.2080000000 0.100018965000000111867.480000000 82550.2080000000 0.0474635430000000116010.720000000 82550.2080000000 0.0154872950000000120153.960000000 82550.2080000000 0.00347479000000000124297.200000000 82550.2080000000 0.00053606700000000087008.0400000000 85989.8000000000 0.015147933000000091151.2800000000 85989.8000000000 0.046767390000000095294.5200000000 85989.8000000000 0.099281996000000099437.7600000000 85989.8000000000 0.144922386000000103581 85989.8000000000 0.145458149000000107724.240000000 85989.8000000000 0.100387178000000111867.480000000 85989.8000000000 0.0476382770000000116010.720000000 85989.8000000000 0.0155443100000000120153.960000000 85989.8000000000 0.00348758200000000124297.200000000 85989.8000000000 0.00053804100000000091151.2800000000 89429.3920000000 0.032275778000000095294.5200000000 89429.3920000000 0.068517907000000099437.7600000000 89429.3920000000 0.100015904000000103581 89429.3920000000 0.100385653000000107724.240000000 89429.3920000000 0.0692806310000000111867.480000000 89429.3920000000 0.0328768070000000116010.720000000 89429.3920000000 0.0107276610000000120153.960000000 89429.3920000000 0.00240690000000000124297.200000000 89429.3920000000 0.00037132000000000095294.5200000000 92868.9840000000 0.032514373000000099437.7600000000 92868.9840000000 0.0474613790000000103581 92868.9840000000 0.0476368390000000107724.240000000 92868.9840000000 0.0328763150000000111867.480000000 92868.9840000000 0.0156013050000000116010.720000000 92868.9840000000 0.00509068600000000120153.960000000 92868.9840000000 0.00114216600000000124297.200000000 92868.9840000000 0.00017620600000000099437.7600000000 96308.5760000000 0.0154863600000000103581 96308.5760000000 0.0155436110000000107724.240000000 96308.5760000000 0.0107273420000000111867.480000000 96308.5760000000 0.00509061100000000116010.720000000 96308.5760000000 0.00166106000000000120153.960000000 96308.5760000000 0.000372682000000000124297.200000000 96308.5760000000 5.74949000000000e-05103581 99748.1680000000 0.00348737500000000107724.240000000 99748.1680000000 0.00240679300000000111867.480000000 99748.1680000000 0.00114213300000000116010.720000000 99748.1680000000 0.000372677000000000120153.960000000 99748.1680000000 8.36152000000000e-05124297.200000000 99748.1680000000 1.28996000000000e-05103581 103187.760000000 0.000538001000000000107724.240000000 103187.760000000 0.000371299000000000111867.480000000 103187.760000000 0.000176198000000000116010.720000000 103187.760000000 5.74932000000000e-05120153.960000000 103187.760000000 1.28994000000000e-05124297.200000000 103187.760000000 1.99003000000000e-06
Best Answer