我有向量 top、bottom、mid,我试图将它们与 i 积分,将原点保持在索引 11。
i=0:0.01e-06:1.3e-06;
bottom=cumtrapz(i(11:end),b(11:end));
top=cumtrapz(i(11:end),t(11:end));
mid=cumtrapz(i(11:end),m(11:end));
bottom1=cumtrapz(i(1:11),b(1:11));
top1=cumtrapz(i(1:11),t(1:11));
mid1=cumtrapz(i(1:11),m(1:11));
figure(2)
plot([bottom1 bottom]);hold on
plot([top1 top])
plot([mid1 mid])