From: yomguy Date: Fri, 4 Apr 2008 13:09:50 +0000 (+0000) Subject: git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@167 5fc3e0e6-29bc-4d03-b52b-c088cb... X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e105437791fed6ceef296c8e14c4ef104904435a;p=cnaq.git git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@167 5fc3e0e6-29bc-4d03-b52b-c088cb822bde --- 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);