How to create a line from a curve in a log scale x-axis

2 vues (au cours des 30 derniers jours)
Lluis Montell de Jesus
Lluis Montell de Jesus le 2 Mar 2021
Hello, I'm doing a code that needs to find the intersection of 2 lines. The first line is with y constant (slope 0) and the second is created from the inglection point following the curbe as shown in the figure, with the 'o' points the inflection points already calculated. The problem is that the curbe is ploted in a x-scale and I don't know to create those curves and plot them like in the figure. Does anyone know how it could be made? thanks

Réponses (1)

Simon Allosserie
Simon Allosserie le 2 Mar 2021
If your question is how to plot a log scale, please use
set(gca, 'XScale', 'log') %make X axis logarithmic
  1 commentaire
Lluis Montell de Jesus
Lluis Montell de Jesus le 2 Mar 2021
No, I mean when I plot the cruve in a log scale I have the shape of this graph. I want to calculate the black line that is tangent of the cruve in the log scale considering that of course I have the points of the blue curve and the point that I want the line passes.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Log Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by