I am trying to graph this function on matlab?
Can someone please help me?

 採用された回答

Chunru
Chunru 2021 年 6 月 2 日
編集済み: Chunru 2021 年 6 月 2 日

0 投票

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 件のコメント

Thi Thai HA Vu
Thi Thai HA Vu 2021 年 6 月 2 日
Hi! I did what you said, but it graphed x, y the other way around;(
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');
Thi Thai HA Vu
Thi Thai HA Vu 2021 年 6 月 2 日
THANK YOU SO MUCH !!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLog Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by