[READ-ONLY] Mirror of https://github.com/jmrplens/FDTDexamples. Modelos FDTD de aeroacústica simples y complejos para MATLAB 2019b o superior
acoustic fdtd matlab
0

Configure Feed

Select the types of activity you want to include in your feed.

Update FDTD_2D_Basico.m

Jose M. Requena Plens (Sep 29, 2019, 4:26 AM +0200) 039c2ae3 7c6c8728

+2 -3
+2 -3
FDTD_2D_Basico.m
··· 22 22 Origen = [1,2.5]; % Origen de la fuente 23 23 % Posicion de los receptores 24 24 rec1 = [4,0.25]; % Posicion del receptor 1 [m,m] 25 - rec2 = [1,0.25];% Posicion del receptor 2 [m,m] 25 + rec2 = [0.9,0.25];% Posicion del receptor 2 [m,m] 26 26 rec3 = [2,2]; % Posicion del receptor 3 [m,m] 27 27 % Tama�o/Ancho de la PML en metros 28 28 lPML = 0.25; % m ··· 46 46 %% POSICION DE LA FUENTE 47 47 posNy = round((Origen(2))/dh) + nPML; 48 48 posNx = round(Origen(1)/dh) + nPML; 49 - 50 49 51 50 %% EXCITACI�N 52 51 lenT = ts*10^-3/dt; % Longitud del vector de tiempo ··· 139 138 h = h./maxx; h2 = h2./maxx; h3 = h3./maxx; 140 139 T = array2timetable([h',h2',h3'],...% Datos iniciales 141 140 'RowTimes',time); % Columna de tiempo 142 - fig= figure; 141 + fig= figure('Color',[1,1,1]); 143 142 s = stackedplot(T,... 144 143 'Title','Se�al recibida',... 145 144 'DisplayLabels',{'Receptor 1', 'Receptor 2', 'Receptor 3'},...