MATLAB: How to implement this formula in MatLab formulaMATLAB n is a constant = 100 x is an array of 100 rand elements Best Answer directly: n=100;x=rand(1,n);s=std(x)or with a loop: n=100;x=rand(1,n);xmean=mean(x);sumt=0;for i=1:n sumt=sumt+(x(i)-xmean)^2;ends=sqrt(sumt/(n-1)) Related SolutionsMATLAB: Conversion formula I would assume you should look at the makecform and applycform function, as defined here: http://www.mathworks.com/help/toolbox/images/f8-20792.htmlThere are options to change from XYZ to Lab, which may be of some help! MATLAB: Lab manual Here is one we use for Basic MATLAB intro labhttp://oc.its.ac.id/ambilfile.php?idp=1625 Related Question[Formula][User Friendly]Black-Scholes formula
Best Answer