summaryrefslogtreecommitdiff
path: root/260/CH8/EX8.6/8_6.sce
blob: bf48198ddf7aed16fc6cbd80647623fc06173f1c (plain)
1
2
3
4
5
6
7
8
9
10
//Eg-8.6
//pg-374

clear
clc

exec quicksort.sci
x = [ 4 1 5 2.6 5.4 11.5 7.6 1.9 ]
xsorted = quicksort(x)
disp(xsorted)