採用された回答

Davide Masiello
Davide Masiello 2022 年 3 月 15 日

0 投票

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

その他の回答 (1 件)

Friedel Hartmann
Friedel Hartmann 2022 年 3 月 15 日

0 投票

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