how do you plot signal like cos wt and 1/4 cycle time delayed version of signal on same axis
1 次查看(过去 30 天)
显示 更早的评论
x=0:0.01:2*pi y=cos(x) plot(x,y)
need a additional 1/4 cycle time delayed signal on the same axis as x
0 个评论
回答(1 个)
Mischa Kim
2015-3-27
Amit, how about
x = 0:0.01:2*pi;
y = cos(x);
yd = cos(x + pi/2);
plot(x,y,x,yd)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!