Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/jmrplens/EASEPostFile2Matlab. Representa los datos de historia temporal obtenidos con EASE 4 y calc
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930function representarEcograma(handles)
axes(handles.plotfig)Index = handles.Index;SPLm = handles.SPLm(:,1);SPLmTot = handles.SPLm(:,19);Distancia = cell2mat(handles.SPLm(:,6))';Fuente = string(handles.SPLm(:,2)');Receptor = string(handles.SPLm(:,3)');
% Obtener ecograma del receptor Index, sumando las octavasEcogra = 10*log10(sum(10.^((SPLmTot{Index}(:,2:end)')/10)));tiempo = SPLmTot{Index}(:,1);
%% Representacion grafica
% Ecogramastem(tiempo,Ecogra,'Marker','none')
title({sprintf('Ecograma del receptor: %s',Receptor(Index));... ['\color{blue} ','Fuente: ',sprintf(': %s',Fuente(1))]})xlabel('Tiempo (ms)')ylabel('Nivel SPL (dB)')% Limite del eje x con margen a ambos ladosxlim([-max(tiempo)/10,max(tiempo)+max(tiempo)/10])end