plot Discrate time signal
显示 更早的评论
Please give me a sample completion code discrate time signal
1 个评论
Star Strider
2021-1-12
Reprise of: How to Plot a Continues Tiime Signal
回答(1 个)
x = sort(rand(1,10));
y = rand(1,10);
stem(x, y)
2 个评论
Muhammad Fauzan
2021-1-12
u = @(t) (t>=0);
x = sort(rand(1,10)*5-2);
y = rand(1,10);
stem(x, y)
hold on
y2 = y .* u(1-x);
stem(x, y2, 'r')
hold off
类别
在 帮助中心 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

