]> git.parisson.com Git - cnaq.git/commitdiff
* Fix sig_mes
authoryomguy <yomguy@5fc3e0e6-29bc-4d03-b52b-c088cb822bde>
Fri, 4 Apr 2008 12:41:53 +0000 (12:41 +0000)
committeryomguy <yomguy@5fc3e0e6-29bc-4d03-b52b-c088cb822bde>
Fri, 4 Apr 2008 12:41:53 +0000 (12:41 +0000)
git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@164 5fc3e0e6-29bc-4d03-b52b-c088cb822bde

tools/get_ri_spec.m

index 51cb84783f7a912033869a5b518f76d28d2ddc49..ee157325ae7cc716f569b7f94d44140aae0f25a0 100644 (file)
@@ -1,12 +1,12 @@
-function [ri, spec] = get_spec_ri(f, sig_exc, sig_exc, f_s)
+function [ri, spec] = get_spec_ri(f, sig_exc, sig_mes, f_s)
 % Return the impulse response and the spectrum compute with the given method
 
     if mes_type == 1
         % Frequency method
-        [rep_imp_exc, spec_exc] = fonc_trans(f, sig_exc, sig_exc);
+        [ri, spec] = fonc_trans(f, sig_exc, sig_mes);
     elseif mes_type == 2
         % Temporal method
-        [rep_imp_exc, spec_exc] = RI_FT(f, sig_exc, sig_exc, f_s);
+        [ri, spec] = RI_FT(f, sig_exc, sig_mes, f_s);
     end
 
 end
\ No newline at end of file