用matlab做卷积,为什么输出的图像坐标放大了采样间隔的倒数倍?

[复制链接]
查看11 | 回复1 | 2012-12-10 16:14:26 | 显示全部楼层 |阅读模式
p=0.01;t1=-0.5:p:2;t2 = 0:p:2;x = heaviside(t1+0.5)-heaviside(t1-1);h=0.5*t2;subplot(311),plot(t1,x);axis([-0.5 2 0 1.5]);subplot(312),plot(t2,h);axis([0 2 0 2]);subplot(313),plot(conv(h,x));set(gca,'xlim',[0 5],'ylim',[0 1]);你要的是这样的吗?改第3个的xy的图像?...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行