Skip to content
Snippets Groups Projects
Commit c73cc7eb authored by Achilles Kappis's avatar Achilles Kappis
Browse files

Add the source signals as output argument for ptSrcFieldTD.m

parent 1dd73eec
No related branches found
No related tags found
1 merge request!3Update to v0.2.3
...@@ -58,6 +58,10 @@ ...@@ -58,6 +58,10 @@
% source averaged over the trials/sound field % source averaged over the trials/sound field
% realisations. This is an IxMxN array. % realisations. This is an IxMxN array.
% %
% Q [numeric]: The source signals. If Q is provided, the same variable is
% returned here. If Q is generated internally, the signals are
% returned.
%
% -------------------------------------------------- % --------------------------------------------------
% Notes % Notes
% %
...@@ -68,12 +72,12 @@ ...@@ -68,12 +72,12 @@
% long source signals % long source signals
% %
% -------------------------------------------------- % --------------------------------------------------
function [rSig, rSigMean, rSigMtx, rSigMtxMean] = ptSrcFieldTD(sPos, rPos, fs, Q, nTrials, c) function [rSig, rSigMean, rSigMtx, rSigMtxMean, Q] = ptSrcFieldTD(sPos, rPos, fs, Q, nTrials, c)
% ==================================================== % ====================================================
% Check for number of arguments % Check for number of arguments
% ==================================================== % ====================================================
narginchk(3, 6); narginchk(3, 6);
nargoutchk(0, 4); nargoutchk(0, 5);
% ==================================================== % ====================================================
% Validate input arguments % Validate input arguments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment