diff --git a/Sound Fields/MATLAB/Functions/lsDcft.m b/Sound Fields/MATLAB/Functions/lsDcft.m index 98f70a8a5d53dfab1078936cbb587f61c418e971..0cb75e1e2029fab953cbb34ae5fd78a078a64135 100644 --- a/Sound Fields/MATLAB/Functions/lsDcft.m +++ b/Sound Fields/MATLAB/Functions/lsDcft.m @@ -3,7 +3,7 @@ % Author: Achilles Kappis % e-mail: axilleaz@protonmail.com % -% Date: 28/05/2024 (DD/MM/YYYY) +% Date: 31/05/2024 (DD/MM/YYYY) % % Copyright: MIT % -------------------------------------------------- @@ -51,5 +51,5 @@ function circFtCoeffs = lsDcft(sig, circHarms) % ============================================= % Calculate the coefficients % ============================================= - circFtCoeffs = circHarms\sig; + circFtCoeffs = pinv(circHarms) * sig; end \ No newline at end of file