How to graph log function?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Thi Thai HA Vu
el 2 de Jun. de 2021
Comentada: Thi Thai HA Vu
el 2 de Jun. de 2021
I am trying to graph this function on matlab?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/639560/image.png)
Can someone please help me?
0 comentarios
Respuesta aceptada
Chunru
el 2 de Jun. de 2021
Editada: Chunru
el 2 de Jun. de 2021
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
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');
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Distribution Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!