Beats

% Beats.
t = 0: pi/90: 20;
x1 = sin(2*pi*t); x2 = sin(2.2*pi*t);
x  = x1 + x2;
plot(t, x), grid
xlabel(‘Time, s’), ylabel(‘sin(2*pi*t) + sin(2.2*pi*t)’)