hi all i want to find value of log(1000)in matlab, we know lo(1000) value is 3, but matlab calculate it 6.9078. tell me how to calculate this value
Thank You

 Accepted Answer

Win co
Win co on 9 May 2012
the value 6.9078 is ln(1000) . To compute log(1000), you can type : >> log10(1000)
ans =
3
or
>> log(1000)/log(10)
ans =
3.0000

Tags

Asked:

on 9 May 2012

Answered:

on 7 Mar 2023

Community Treasure Hunt

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

Start Hunting!