About 4,060,000 results
Open links in new tab
  1. log - Natural logarithm - MATLAB - MathWorks

    Y = log(X) returns the natural logarithm ln(x) of each element in array X. The log function’s domain includes negative and complex numbers, which can lead to unexpected results if used …

  2. How can I calculate ln (x) in matlab code? - MathWorks

    Jun 30, 2015 · Correct, the log function computes the natural logarithm. If you want the common logarithm (base 10) use log10. If you want the base 2 logarithm use log2.

  3. function - Declare function name, inputs, and outputs - MATLAB

    function [y1,...,yN] = myfun(x1,...,xM) declares a function named myfun that accepts inputs x1,...,xM and returns outputs y1,...,yN. This declaration statement must be the first executable …

  4. Exponents and Logarithms - MATLAB & Simulink - MathWorks

    Exponential, logarithm, power, and root functions In addition to common functions like exp and log , MATLAB ® has several other related functions to allow flexible numerical calculations. The …

  5. how to represent ln in matlab? - MATLAB Answers - MATLAB Central

    Jan 18, 2013 · The log() function is base-e log. So, to take log of x [mathematicians would usually say ln(x)], just do

  6. how to solve ln(3) in matlab - MATLAB Answers - MATLAB Central

    Nov 25, 2017 · i want to find ln(3) and the matlab write this >> ln(3) Undefined function or variable 'ln'.

  7. How to write log base e in MATLAB? - MATLAB Answers

    Oct 1, 2019 · So far two people have told you to use log, in order to "write log base e in MATLAB" as you asked in your question. Lets take a look at why they might tell you to use log : its …

  8. How can I write ln in Matlab? - MATLAB Answers - MATLAB …

    Jan 22, 2021 · How can I write ln in this part of my code as I keep getting an error. Thank yon %Gaussian parameters M= (1+nc)/2; %M= mean number SD= sqrt (-(j-M)^2/(2*ln(20/1...

  9. How to use the constant e? - MATLAB Answers - MATLAB Central

    Sep 14, 2016 · Use the exponential function exp(y) to compute e^y. For example: ... (1 − e^-T/RC) , how would i write this as ive tried exp(-T/R*C) but wouldt work as theres a negative 1 …

  10. taylor - Taylor series - MATLAB - MathWorks

    You can use the sympref function to modify the output order of symbolic polynomials. If taylor cannot find the Taylor series expansion, then use series to find the more general Puiseux …

Refresh