MATLAB: How to use “ln” function on each elemnets of the matrix matlab function hi I would like to use ln (natural logarithm) function on each of the matrix element, how can I do that? with out using loop Best Answer Here yourmatrix - double array.log(yourmatrix) Related SolutionsMATLAB: Matlab won’t recognize “ln” In MATLAB (and a number of other programming languages), the natural logarithm function is log, not ‘ln’. MATLAB: 1D Matrix element shifting a=['how are you?'];out = ['hello, ',a] Related QuestionExtracting non-zero elements in a matrix or an arrayHow get log normal(ln) of valueMerge two arrays one after each other by elemnetsMATLAB Function
Best Answer