This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %is an empty vector else [num ind] = min(vec); %finds the number and index of the first minimum value, to account for %repeated numbers vec(ind) = ; %removes the first appearance of the minimum value out = [num slowSort(vec)]; %concatenates the minimum with the recursive function to continue to %keep increasing the order end end...
View Full Document
- Spring '08