my_ln= log 10 ( number ) / log 10 ( exp(1) ) you can also make it as a function and call it whenever you need it,.ln(x) = log 10 (x)/log 10 (e) so, just write that code in matlab.log b (X)= log a (X)/log a (B) you can check this easily.If you want negative and complex numbers to return error messages rather than return complex results, use reallog instead. ![]() ![]() Y = log( X ) returns the natural logarithm ln(x) of each element in array X.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |