Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %%
- clear;
- clc;
- format long
- %% Solucoes numericas
- pasta = 'simulacoes/Linear';
- x = load([pasta '/espaco.dat']);
- t = load([pasta '/tempo.dat']);
- fileIter = load([pasta '/Iteracoes.dat']);
- nx = length(x);
- nt = length(t);
- nIter = length(fileIter);
- %iter = reshape(fileIter, [nt, nIter]);
- t1 = 10; t2 = 20; t3 = 50; t4 = 80;
- %%
- plot(t, fileIter);
- legend(['Numérica t = ', num2str(t(t1), '%5.2f')],'Location','best','FontSize',12);
- xlabel('$X$','interpreter','latex','FontSize',14)
- ylabel(' $S_{w} \hspace{0.5cm}$','rot',0,...
- 'interpreter','latex','FontSize',18);
- grid on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement