Info

This question is closed. Reopen it to edit or answer.

Help with this question

3 views (last 30 days)
Yunho Lee
Yunho Lee on 27 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Swapping and Sorting Write a function to sort the elements in an array. The function takes two inputs, the array to be sorted and the order of sorting (ascending or descending). The output will be the vector sorted in the requested order. Note: Do not use in-built functions such as sort.You are expected to write your own logic.
Thank you :D
  1 Comment
Thorsten
Thorsten on 27 Apr 2015
Are you expecting that we do your homework for you?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!