How can I replicate this plot using the supplied equations?
Show older comments
Answers (1)
Mathieu NOE
on 28 Mar 2025
Edited: Mathieu NOE
on 28 Mar 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])
1 Comment
Mathieu NOE
on 2 Apr 2025
hello again
problem solved ?
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
