
clc;clear;close all

[numeric,text,rawdata] = xlsread('iris.xlsx');

sepal_lenght = cell2mat(rawdata(2:end,1));


% Built-in Function

avg_SL = mean(sepal_lenght);  % average sepal length
var_SL = var(sepal_lenght);  % variance of sepal length
std_SL = std(sepal_lenght);  % standard deviation of sepal length


% User-defined Function

UDF_avg_SL     = avg(sepal_lenght);
[vari,stand]   = vari_stand(sepal_lenght);

