How do you plot something inbetween 1≤x≤e

I must plot cos(pi*ln(x)) between 1≤x≤e but cant get it right. Any suggestions?

回答(1 个)

Not certain what you want. Using xlim is one options.

2 个评论

Sorry.
I want the area between the x-axis and the function cos(pi*ln(x))
You did not say that originally.
Use the integral function.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

版本

R2019a

标签

提问:

2019-9-24

Community Treasure Hunt

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

Start Hunting!

Translated by