clear all close all clc t = -10:0.1:10; s = tanh(t); figure(1) for t0 = -9:10 i = t0+10; % indice di riferimento subplot(4,5,i) s1 = tanh(t0-t); plot(t,s,'-b',t,s1,'-r') title(['t_0 = ', num2str(t0)]) grid end