%% Specify Standard Deviation Weights
% Create a matrix and compute the standard deviation of each column according to a weight vector w.

A = [1 5; 3 7; -9 2];
w = [1 1 0.5];
S = std(A,w)

% Copyright 2015 The MathWorks, Inc.