Home / Expert Answers / Computer Science / please-write-in-matlabs-10-points-matlab-contains-functions-to-calculate-the-natural-loga-pa800

(Solved): please write in matlabs (10 Points) MATLAB \( \) contains functions to calculate the natural loga ...



please write in matlabs

(10 Points) MATLAB \( ® \) contains functions to calculate the natural logarithm ( \( \log ) \), the logarithm to the base \(
(10 Points) MATLAB \( ® \) contains functions to calculate the natural logarithm ( \( \log ) \), the logarithm to the base \( 10(\log 10) \), and the logarithm to the base 2( (log2). However, if you want to find a logarithm to another base - for example, base \( b \)-you'll have to do the math yourself with the formula \[ \log _{b}(x)=\frac{\log _{e}(x)}{\log _{e}(b)} \] What is the \( \log _{b} \) of 10 when \( b \) is defi ned from 1 to 10 in increments of 1 ? Write a M-file to generate the results.


We have an Answer from Expert

View Expert Answer

Expert Answer


x=10; b
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe