Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 impz(b,a) 命令绘制了数字系统的脉冲响应,我想在图上为 (-std,std) 之间的区域着色。我已经添加了显示 -std 和 std 值的行,但我不知道该怎么做。你能帮助我吗?可以图形化吗?
正如 EitanT 上面所建议的:
[h, t] = impz(b, a); figure() plot(t,h) hold on ind=[find(t==-std):find(t==std)] fill(t(ind),h(ind))