How to find log with base value

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.

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 20 de Mayo de 2020
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 comentarios

Rocky
Rocky el 20 de Mayo de 2020
Thank you for Your help
Ameer Hamza
Ameer Hamza el 20 de Mayo de 2020
I am glad to be of help!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Preguntada:

el 20 de Mayo de 2020

Comentada:

el 20 de Mayo de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by