
Recent Posts
Recent Comments
犰狳指挥官 on run firefox on a remote Linux… 犰狳指挥官 on [zz] Homebrew: ruby bad interp… FisherYu on 搬家到这里 cgao on test LaTeX Yunlong on test LaTeX Archives
Categories
Meta
Monthly Archives: August 2014
xcov and xcorr in Matlab
Matlab provides xcorr to calculate the cross/autocorrelation of two/one random variables. [r,lags]=xcorr(x,y,’coeff’) will calculate the crosscorrelation of x and y using Here “coeff” optional keyword is used to normalize the result with L2norm. However [c,lags]=xcov(x,y,’coeff’) calculates the crossvariance of x … Continue reading
Posted in Academic
Leave a comment
LeedCode: Candy
https://oj.leetcode.com/problems/candy/ There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following requirements: Each child must have at least one candy. Children with a higher … Continue reading