I am getting a straight line while running the following code. What is going wrong??
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Abdul
am 14 Feb. 2014
Bearbeitet: Azzi Abdelmalek
am 14 Feb. 2014
x=0.1:0.001:10;
y=exp(-x.^2/2)/sqrt(x);
plot(x,y)
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 14 Feb. 2014
Bearbeitet: Azzi Abdelmalek
am 14 Feb. 2014
x=0.1:0.001:10;
y=exp(-x.^2/2)./sqrt(x);
plot(x,y)
It's ./ instead of /
0 Kommentare
Weitere Antworten (0)
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!