Jan 18, 2012

How to Enter Euler's Number Into MATLAB

,
Euler's number is a mathematical constant known by the abbreviation "e." If you are creating a program in the Matlab software system you may need to utilize Euler's number as part of your calculations. You can enter Euler's number to a specific number of decimal points in Matlab by using a few system functions.


Instructions

    • 1
      Open your Matlab file.
    • 2
      Go to an empty portion of the file where you want to type in Euler's number.
    • 3
      Type "vpa(sym('exp(1)'),x)" into Matlab where "x" is the number of decimal places you want Euler's number to have for your calculations.
    • 4
      Save your Matlab file, then you are done.


0 commentaires to “How to Enter Euler's Number Into MATLAB”

Post a Comment

 

HowToYo Copyright © 2011 | Template design by O Pregador | Powered by Blogger Templates