This shows you the differences between two versions of the page.
gibson:teaching:fall-2012:math445:naivesort.m [2012/09/13 06:36] gibson created |
gibson:teaching:fall-2012:math445:naivesort.m [2012/09/13 06:36] (current) gibson |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <code> | ||
function x = naivesort(x); | function x = naivesort(x); | ||
% sort the elems of x in ascending order | % sort the elems of x in ascending order | ||
Line 27: | Line 28: | ||
end | end | ||
+ | </code> |