Edit: I realized the code was very poorly written and didnt really get at what I wanted to do. I hope its easier to understand now.
I want to be able to minimize the error with the least amount of iterations possible.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!