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;(
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 Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2021년 6월 2일

댓글:

2021년 6월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by