how to plot this function
조회 수: 1 (최근 30일)
이전 댓글 표시
x=[-1,0.1:1,1];
psi0=(1/pi)^0.25*exp(-x^.2/2.);
plot(x,psi0)
댓글 수: 0
채택된 답변
Davide Masiello
2022년 3월 15일
clear,clc
x = -1:0.1:1;
psi0 = (pi^-0.25)*exp(-x.^2/2);
plot(x,psi0)
댓글 수: 0
추가 답변 (1개)
Friedel Hartmann
2022년 3월 15일
x=[-1,0.1:1,1];
psi0=(1/pi)^0.25*exp(-x.^2/2.); % <----------------------
plot(x,psi0)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
