How can I replicate this plot using the supplied equations?

1 Ansicht (letzte 30 Tage)
Hoda
Hoda am 28 Mär. 2025
Kommentiert: Mathieu NOE am 2 Apr. 2025

Antworten (1)

Mathieu NOE
Mathieu NOE am 28 Mär. 2025
Bearbeitet: Mathieu NOE am 28 Mär. 2025
hello
do you mean the last plot ?
here a simple code that replicate it : (there is still a bit of work if you want all the details )
y= linspace(0,1.22,100);
E = y+0.051./y.^2;
plot(y,y,'k--'); % diagonal
hold on
plot(E,y,'b','linewidth',2);
xlabel('E')
ylabel('y')
grid on
hold off
xlim([0 1.83])

Community Treasure Hunt

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

Start Hunting!

Translated by