This preview shows page 1. Sign up to view the full content.
Unformatted text preview: for h= 1:maxiter avgCurrent(1,h)= mean(storeSolution(h,2,:)); avgBest(1,h)= mean(storeSolution(h,3,:)); end e avgBC= mean(storeSolution(1000,3,:)); stdBC= std(storeSolution(1000,3,:)); s hold on grid on title('Current Cost and Best Cost vs. Iteration'); xlabel('Iteration'); ylabel('Current Cost (red) and Best Cost (blue)'); plot(1:maxiter,avgCurrent,'r-'); plot(1:maxiter,avgBest,'b-'); p...
View Full Document
This note was uploaded on 10/02/2011 for the course ORIE 5430 taught by Professor Shoemaker during the Fall '11 term at Cornell University (Engineering School).
- Fall '11