From e105437791fed6ceef296c8e14c4ef104904435a Mon Sep 17 00:00:00 2001 From: yomguy Date: Fri, 4 Apr 2008 13:09:50 +0000 Subject: [PATCH] git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@167 5fc3e0e6-29bc-4d03-b52b-c088cb822bde --- tools/plot_main.m | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/plot_main.m b/tools/plot_main.m index d074330..e17f4ce 100644 --- a/tools/plot_main.m +++ b/tools/plot_main.m @@ -8,22 +8,20 @@ function plot_main(handles) f_min = str2double(get(handles.f_gen_min,'String')); f_max = str2double(get(handles.f_gen_max,'String')); f_s = get_fs(handles); + size_sig_mes = size(sig_mes); + n_col_sig_mes = size_sig_mes(2); % Get infos username = get(handles.username,'String'); comment = get(handles.comment,'String'); id = get(handles.ID,'String'); mes_type = get(handles.mes_type,'Value'); - + % Compute excitation spectrum [rep_imp_exc, spec_exc] = get_ri_spec(f, sig_exc, sig_exc, f_s, mes_type); - len_spec_exc = length(spec_exc); spec_exc = spec_exc(1:len_spec_exc/2); - size_sig_mes = size(sig_mes); - n_col_sig_mes = size_sig_mes(2); - % Compute all Ris and specs for i=1:n_col_sig_mes voice = num2str(i); -- 2.39.5