blob: 6c10c1568825ad286ca1f47cd74d00e13ca21425 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Eg-6.7
//pg-290
clear
clc
//sorting data in ascending order
x=[233;216;229;238];
m1=median(x);
y=[56;62;51];
m2=median(y);
disp("medians of given data are as follows")
disp(m1)
disp(m2)
|