필터 지우기
필터 지우기

I am getting a straight line while running the following code. What is going wrong??

조회 수: 1 (최근 30일)
x=0.1:0.001:10;
y=exp(-x.^2/2)/sqrt(x);
plot(x,y)

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 2월 14일
편집: Azzi Abdelmalek 2014년 2월 14일
x=0.1:0.001:10;
y=exp(-x.^2/2)./sqrt(x);
plot(x,y)
It's ./ instead of /

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by