Matlab plotting and graphing signals
Afficher commentaires plus anciens
Plot the signals: x(t) = 1 – u(t-2) – u(t-4) -u(t-6)
Réponses (1)
Walter Roberson
le 4 Nov 2020
sympref('heavisideatorigin', 1)
u = @heaviside
syms t
Now go ahead and construct your signal using u and fplot it.
2 commentaires
Steph surry
le 4 Nov 2020
Walter Roberson
le 4 Nov 2020
https://www.mathworks.com/matlabcentral/answers/598198-how-to-plot-delta-dirac-and-unit-step-functions#answer_533940
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!