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

3 views (last 30 days)
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

Answers (1)

Simon Allosserie
Simon Allosserie on 2 Mar 2021
If your question is how to plot a log scale, please use
set(gca, 'XScale', 'log') %make X axis logarithmic
  1 Comment
Lluis Montell de Jesus
Lluis Montell de Jesus on 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.

Sign in to comment.

Categories

Find more on Curve Fitting Toolbox 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!