# Hi, how can i proceed with this question, everytime i plot it, it doesn't show me my line. Can u guys help me

조회 수: 1(최근 30일)
Roman Azrael Balgobin 2019년 11월 8일
댓글: Roman Azrael Balgobin 2019년 11월 8일
x = -10 : 0.01 : 10;
y = (exp(x)/ sin(x)) + 0.3;
plot(x,y)

댓글을 달려면 로그인하십시오.

### 채택된 답변

Jan Studnicka 2019년 11월 8일
You are missing . before /. See:
x = -10 : 0.01 : 10;
y = (exp(x)./ sin(x)) + 0.3; % use ./ instead of /
plot(x,y)
##### 댓글 수: 1표시숨기기 없음
Roman Azrael Balgobin 2019년 11월 8일
How can i differentiate this equation to find its stationary points in the x>0

댓글을 달려면 로그인하십시오.

### 추가 답변(1개)

the cyclist 2019년 11월 8일
편집: the cyclist 2019년 11월 8일
It's because you used a matrix division instead of an element-wise division to calculate y. Try this instead:
y = (exp(x)./ sin(x)) + 0.3;
Note the use of ./ in place of just / in the formula.
See this documentation for more details.

댓글을 달려면 로그인하십시오.

### 범주

Find more on Annotations in Help Center and File Exchange

R2019b

### Community Treasure Hunt

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

Start Hunting!

Translated by