Heavisidefunktion
Verfasst: Mittwoch 9. Oktober 2019, 21:15
Guten Abend,
ich bin absoluter Anfänger bei Python, brauche es nur für meine Bachelorarbeit in einem Studiengang welcher nicht viel mit Informatik zutun hat. Ich würde jetzt gerne die Heaviside Funktion plotten aber es klappt nicht
ich habe u.a. folgendes probiert:
x = np.linspace(-10,10,1001)
y = max (0,x)
plt.plot(x,y)
plt.show()
ich bin absoluter Anfänger bei Python, brauche es nur für meine Bachelorarbeit in einem Studiengang welcher nicht viel mit Informatik zutun hat. Ich würde jetzt gerne die Heaviside Funktion plotten aber es klappt nicht
ich habe u.a. folgendes probiert:
x = np.linspace(-10,10,1001)
y = max (0,x)
plt.plot(x,y)
plt.show()