How to find log with base value

조회 수: 1 (최근 30일)
Rocky
Rocky 2020년 5월 20일
댓글: Ameer Hamza 2020년 5월 20일
hi all..can anyone tell how to write this eauation in matlab.where Lin is a 2x2 matrix.Thanks in advance..
L=log(i)(Lin+1)
i=max(Lin)+1.Here i is a base value of log.

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 5월 20일
According to the change of base rule for logarithms, you can use the logarithm function of a specific base to find the logarithm of any base where it is defined. For example
L = log(Lin+1)/log(i)
  댓글 수: 2
Rocky
Rocky 2020년 5월 20일
Thank you for Your help
Ameer Hamza
Ameer Hamza 2020년 5월 20일
I am glad to be of help!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by