Corrected calculation of fs.

This commit is contained in:
Karthik 2024-11-13 09:28:12 +01:00
parent 567193129b
commit 4f8d7614a9

View File

@ -56,7 +56,7 @@ end
% Obtain f from g % Obtain f from g
f = zeros(size(g)); f = zeros(size(g));
for ii = 1:Neigs for ii = 1:Neigs
f(:,ii) = muHC(g(:,ii)) + (2.*X(g(:,ii))); f(:,ii) = (1/evals(ii)) * (muHC(g(:,ii)) + (2.*X(g(:,ii))));
end end
% Obtain u and v from f and g % Obtain u and v from f and g