Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

Standard Deviation in MATLAB without using std

%Code:
clc
clear all
close all
x=input('Enter the data points:');
a=mean(x);
z=[];
for i=1:length(x)
    z=[z (x(i)-a)^2];
end
s=sum(z);
s=s/(length(x)-1);

s=sqrt(s);




No comments

Popular Posts

Followers