how can i plot a continuous unit step function without heaviside?

26 vues (au cours des 30 derniers jours)
omar hazem
omar hazem le 20 Mai 2022
Modifié(e) : Matt J le 20 Mai 2022
i need to plot this function without heaviside

Réponse acceptée

Matt J
Matt J le 20 Mai 2022
Modifié(e) : Matt J le 20 Mai 2022
Hint:
t=linspace(-1,3,100);
u=(t>1);
plot(t,u); axis padded; xlabel t; ylabel u

Plus de réponses (0)

Catégories

En savoir plus sur Two y-axis dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by