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

조회 수: 2 (최근 30일)
Lluis Montell de Jesus
Lluis Montell de Jesus 2021년 3월 2일
댓글: Lluis Montell de Jesus 2021년 3월 2일
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

답변 (1개)

Simon Allosserie
Simon Allosserie 2021년 3월 2일
If your question is how to plot a log scale, please use
set(gca, 'XScale', 'log') %make X axis logarithmic
  댓글 수: 1
Lluis Montell de Jesus
Lluis Montell de Jesus 2021년 3월 2일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Log Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by