how I can plot ?

y=0.5*ln(pi*e), where e is exp^1

1 Comment

What is there to plot? Everything on the right hand side is a constant, so it is a single value:
>> y=0.5*log(pi*exp(1))
y =
1.0724

Answers (1)

x = linspace(0, 10);
y = 0.5*log(pi*exp(x));
plot(x, y)

3 Comments

Mario Malic
Mario Malic on 16 Nov 2020
Hi Walter,
What is that feature next to your answer: Ran in: 2020b? Is it some special feature in the text editor?
It is an experimental feature in the online editor that some of us are testing out.
Mario Malic
Mario Malic on 16 Nov 2020
Oh, I see.

This question is closed.

Tags

Asked:

on 16 Nov 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!