<r>William Sharpe has the following matlab code on his website. Has anyone translated it in VBA?function [C,sda,CC,e] = wcov(R,h);% [C,sda,CC,e] = wcov(R,h);% produces a weighted covariance matrix using a specified half-life% also produces standard deviations, correlations and expected values% varia...