//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)