How to graph log function?

2 次查看(过去 30 天)
I am trying to graph this function on matlab?
Can someone please help me?

采纳的回答

Chunru
Chunru 2021-6-2
编辑:Chunru 2021-6-2
y = linspace(0, 1e-3, 100);
x = 14/log(2)*log(y./sqrt(1e-6-y.^2)) + 37.119;
plot(y, x)
xlabel('y');
ylabel('x');
  3 个评论
Chunru
Chunru 2021-6-2
You specified x as a function of y.
If you want to plot other way:
plot(x, y)
xlabel('x');
ylabel('y');

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by