plotting non-linear equation
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello matlab,
I have this equation y*x= 1+ ln(y/x);
x varies from 0 to 1. Is there any way to plot x vs y?
Best
0 Kommentare
Antworten (1)
Star Strider
am 17 Mär. 2018
There is, if you have the Symbolic Math Toolbox:
syms x y
Eqn = y*x == 1 + log(y/x);
y = solve(Eqn, y);
figure(1)
fplot(real(y), [0 1], '-b')
hold on
fplot(imag(y), [0 1], '-r')
hold off
grid
set(gca, 'YScale','log')
xlabel('X')
ylabel('Y')
legend('Re\{y\}', 'Im\{y\}')
y =
-wrightOmega(- log(-1/x^2) - 1)/x
0 Kommentare
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!