how to plot this function
Show older comments
x=[-1,0.1:1,1];
psi0=(1/pi)^0.25*exp(-x^.2/2.);
plot(x,psi0)
Accepted Answer
More Answers (1)
Friedel Hartmann
on 15 Mar 2022
0 votes
x=[-1,0.1:1,1];
psi0=(1/pi)^0.25*exp(-x.^2/2.); % <----------------------
plot(x,psi0)
Categories
Find more on Quaternion Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!