how to plot this function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
khaled Abdelghafar
am 15 Mär. 2022
Beantwortet: Davide Masiello
am 15 Mär. 2022
x=[-1,0.1:1,1];
psi0=(1/pi)^0.25*exp(-x^.2/2.);
plot(x,psi0)
0 Kommentare
Akzeptierte Antwort
Davide Masiello
am 15 Mär. 2022
clear,clc
x = -1:0.1:1;
psi0 = (pi^-0.25)*exp(-x.^2/2);
plot(x,psi0)
0 Kommentare
Weitere Antworten (1)
Friedel Hartmann
am 15 Mär. 2022
x=[-1,0.1:1,1];
psi0=(1/pi)^0.25*exp(-x.^2/2.); % <----------------------
plot(x,psi0)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!