Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function [retval] = boxplot_task4 (input1, input2)
- pkg load statistics
- boxplot([2.0125163660274232, 6.554288402171187, 6.886082096527421, 2.012516518703255, 2.0125165080410037, 2.0125165006519126, 2.0125165222612806, 2.0125153203826014, 2.0125165221845758, 2.0125164861064033;
- 2.0125165222612806, 2.0125165222612806, 2.012516508959448, 2.0125015389648326, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806;
- 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 11.904016693435855, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806;
- 12.131964091416863, 2.0139811903835803, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806;
- 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 7.8842249271875335, 2.0125165222612806, 2.0125165222612806, 2.4325015288211995, 2.0125165222612806;
- 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 2.0125165222612806, 16.255619765854984, 2.0125165222612806, 9.038157694841251;
- 30.0, 2.0125165222612806, 2.0125165222612806, 30.0, 4.048642207339706, 2.165545537327653, 2.0125165222612806, 6.791797407700276, 30.0, 2.0125165222612806;
- 30.0, 3.326514062236268, 2.0125165222612806, 30.0, 2.189685925318173, 3.6951658745722877, 30.0, 2.0125165222612806, 30.0, 7.0441152392951345;
- 30.0, 30.0, 30.0, 30.0, 2.3809904512931257, 30.0, 2.6497778117720405, 2.012516522261278, 2.2481119533033924, 4.87261436832427;
- 3.032622888354209, 2.489440481976864, 2.867893968574528, 2.937241770166443, 2.01851578631908, 2.527082003156519, 4.697677128001647, 30.0, 3.8279546278874417, 30.0;])
- set(gca(), 'xtick', [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 'xticklabel', {'10', '30', '50', '75', '100', '150', '250', '500', '750', '1000'})
- xlabel('Velicina populacije')
- ylabel('Logaritam fitnessa(ako je vrijednost funkcije 0, fitness je aproksimiran velikim brojem)')
- endfunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement