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

Commit a8e2e67e authored by Robert Henzel's avatar Robert Henzel
Browse files

fixed new bassyst export

parent a23a3f92
......@@ -50,11 +50,21 @@ function [freqVecNode, transferFunctionNode, inputImpedanceNode] = lsData2DomNod
fVec = transFunc.freqVector;
fVec2 = inputImp.freqVector;
if ~areIdenticalFreqVecs(fVec, fVec2)
if(length(fVec) < length(fVec2))
transFunc = ita_interpolate_spk(transFunc,inputImp.fftDegree);
else
inputImp = ita_interpolate_spk(inputImp,transFunc.fftDegree);
end
end
fVec = transFunc.freqVector;
fVec2 = inputImp.freqVector;
if ~areIdenticalFreqVecs(fVec, fVec2)
error('Data files have no identical frequency vectors!')
% ita_interpolate_spk()
end
transFunc = transFunc.freqData;
inputImp = inputImp.freqData;
......
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