Akzeptierte Antwort

Davide Masiello
Davide Masiello am 15 Mär. 2022

0 Stimmen

clear,clc
x = -1:0.1:1;
psi0 = (pi^-0.25)*exp(-x.^2/2);
plot(x,psi0)

Weitere Antworten (1)

Friedel Hartmann
Friedel Hartmann am 15 Mär. 2022

0 Stimmen

x=[-1,0.1:1,1];
psi0=(1/pi)^0.25*exp(-x.^2/2.); % <----------------------
plot(x,psi0)

Community Treasure Hunt

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

Start Hunting!

Translated by