From 6d39446c434cfcca02ae7a4551e2d66edf9def7f Mon Sep 17 00:00:00 2001 From: P Sunthar Date: Tue, 2 Oct 2018 00:09:14 +0530 Subject: Renamed dirs --- Tutorial1_Basic/Scilab_code/mystdev.sci | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 Tutorial1_Basic/Scilab_code/mystdev.sci (limited to 'Tutorial1_Basic/Scilab_code/mystdev.sci') diff --git a/Tutorial1_Basic/Scilab_code/mystdev.sci b/Tutorial1_Basic/Scilab_code/mystdev.sci deleted file mode 100644 index 53849a4..0000000 --- a/Tutorial1_Basic/Scilab_code/mystdev.sci +++ /dev/null @@ -1,8 +0,0 @@ -//A function to compute standard deviation of a given data -//Input: Data (a vector) and mean of the data as input -//Output: standard deviation of the data - -function standard_dev = mystdev(data,mean_of_data) - temp = (data - mean_of_data*ones(length(data)))^2; - standard_dev = sqrt(sum(temp)/(length(data)-1)); -endfunction -- cgit