How to calculate the value of natural log 'e' in Matlab?
    28 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Zulfiqar Khan
 el 21 de Nov. de 2018
  
    
    
    
    
    Comentada: Rik
      
      
 el 21 de Nov. de 2018
            Hi,
I tried following:
>> e.e
error: undefined function or variable e
>> exp(1) . exp(1)
error: Invalid expression
Some body please guide me how to find the natural log of a value in Matlab.
Zulfi.
0 comentarios
Respuesta aceptada
  Rik
      
      
 el 21 de Nov. de 2018
        The method to calculate the natural log is simply log(). If you want base 10 it is actually log10().
2 comentarios
  Rik
      
      
 el 21 de Nov. de 2018
				One of the nice things about the Matlab doc, it that at the bottom of the page there are links to similar functions, so if Google gets you to exp, the 'See Also' gets to to log and log10.
I'm sorry if I sounded a bit snarky btw.
Más respuestas (1)
Ver también
Categorías
				Más información sobre Google en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


