mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-05-10 09:22:44 +00:00
15 lines
278 B
Matlab
15 lines
278 B
Matlab
function b = CalcbCCRF( alpha, x)
|
|
%CALCBPRF Summary of this function goes here
|
|
% Detailed explanation goes here
|
|
|
|
% b = zeros(size(x,1),1);
|
|
%
|
|
% for i=1:size(x,1)
|
|
% b(i) = 2 * x(i,:) * alpha;
|
|
% end
|
|
|
|
% vectorising above code
|
|
b = 2 * x * alpha;
|
|
end
|
|
|