Respuesta aceptada

Chunru
Chunru el 2 de Jun. de 2021
Editada: Chunru el 2 de Jun. de 2021

0 votos

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 comentarios

Thi Thai HA Vu
Thi Thai HA Vu el 2 de Jun. de 2021
Hi! I did what you said, but it graphed x, y the other way around;(
Chunru
Chunru el 2 de Jun. de 2021
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 el 2 de Jun. de 2021
THANK YOU SO MUCH !!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 2 de Jun. de 2021

Comentada:

el 2 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by