Commit 1284d051 authored by Robert Henzel's avatar Robert Henzel

fixed new bassyst export

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