plot Discrate time signal
Afficher commentaires plus anciens
Please give me a sample completion code discrate time signal
1 commentaire
Star Strider
le 12 Jan 2021
Reprise of: How to Plot a Continues Tiime Signal
Réponses (1)
x = sort(rand(1,10));
y = rand(1,10);
stem(x, y)
2 commentaires
Muhammad Fauzan
le 12 Jan 2021
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
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

