Aufgrund einer Wartung wird GitLab am 29.10. zwischen 9:00 und 10:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 29.10. between 9:00 and 10:00 am.

Commit 8fc62359 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix in repmat of channel names and units

parent e14079af
......@@ -455,7 +455,7 @@ classdef itaMSTFinterleaved < itaMSTF
inputvec = this.inputChannels;
% Use first inputchannel!
this.inputChannels = inputvec(1);
% Measure nonlins fr alle LS einzeln:
% Measure nonlins f???r alle LS einzeln:
for idx = 1:numel(outputvec)
this.outputChannels = outputvec(idx);
nonlinearities = this.run_HD(varargin{:});
......@@ -643,8 +643,8 @@ classdef itaMSTFinterleaved < itaMSTF
resultsMI(index) = result;
resultsMI(index).timeData = timeData(:,index:nOutputChannels:end);
repmatFactor = resultsMI(index).nChannels/result.nChannels;
resultsMI(index).channelNames = repmat(result.channelNames,repmatFactor,1);
resultsMI(index).channelUnits = repmat(result.channelUnits,repmatFactor,1);
resultsMI(index).channelNames = repelem(result.channelNames,repmatFactor,1);
resultsMI(index).channelUnits = repelem(result.channelUnits,repmatFactor,1);
end
result = resultsMI;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment