User Tools

Site Tools


gibson:teaching:fall-2013:math445:hw2

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

Write a function ''mysort.m'' that will take in a vector of any size and sort it from least to greatest. Use the strategy of comparing neighbors and swapping them if necessary. If this process is done throughout the entire vector repeatedly enough times, it will work. Write your code so that it does not go through the matrix too many times.

gibson/teaching/fall-2013/math445/hw2.1379294138.txt.gz · Last modified: 2013/09/15 18:15 by gibson