University of Leicester
Browse
TEXT
heapA2.m (4.53 kB)
TEXT
heapifydownN1.m (0.3 kB)
TEXT
heapifyup1.m (0.17 kB)
1/0
3 files

Modified Heap Sort (MHS) in Chapter 2 (Matlab codes)

software
posted on 2020-11-28, 23:00 authored by Sittichoke Som-AmSittichoke Som-Am
We use MHS to solve Example 2.37 in Chapter 2 in order to compare with BSA in 3 dimension.Three are four files:

grid3 is a function to define f=x^2+y^2+z^2.
heapA2 is a heap sort function.
heapifydownN1 is a heapifydown function.
heapifyup1 is a heapifydown function.

History

Usage metrics

    Department of Mathematics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC