diff options
Diffstat (limited to 'macros/iqimbal2coef.sci')
-rw-r--r-- | macros/iqimbal2coef.sci | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/iqimbal2coef.sci b/macros/iqimbal2coef.sci index 2116ca8..0849478 100644 --- a/macros/iqimbal2coef.sci +++ b/macros/iqimbal2coef.sci @@ -40,7 +40,7 @@ if ( or(Comp_Coef==%nan) | or(Comp_Coef==%inf)) error('comm:iqimbal2coef: Input arguments should be finte') end -if ( size(Amp_Imb_dB) ~= size(Ph_Imb_Deg) ) then\ +if ( size(Amp_Imb_dB) ~= size(Ph_Imb_Deg) ) then error('comm:iqimbal2coef: Input arguments should be of same size') end @@ -66,3 +66,4 @@ for i = 1:length(Amp_Imb_dB) Comp_Coef(i) = w2/w1; end +endfunction |