インパルス応答とステップ応答

インパルス応答の積分がステップ応答になることの確認

clear; close all; clc;

G = tf(1,[1 1 1]);
im = impulse(G);
stp = cumsum(im); %積分→累積和
plot(im);
figure;
plot(stp);

f:id:seinzumtode:20200908110557p:plain
実際に積分になっている。