How can I write log(e) in MATLAB?
Show older comments
I am trying to calculate x=log(e) but I can not. Any help?
6 Comments
sultana saffi
on 16 Apr 2021
x=log(e)
sultana saffi
on 16 Apr 2021
how can i give this function
sultana saffi
on 16 Apr 2021
I am trying to calculate x=log4(256) but i can not.Any help pleas?
sultana saffi
on 16 Apr 2021
x=log4(256)
John D'Errico
on 16 Apr 2021
Surely you can read the formula from that site?
f = @(x) 4.^x - 256;
log4_256 = fzero(f, 1.2345)
4^log4_256
Accepted Answer
More Answers (0)
Categories
Find more on Exponents and Logarithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!