lecturenotes9_8

# lecturenotes9_8 - Built In Functions and Plotting...

This preview shows pages 1–5. Sign up to view the full content.

uilt In Functions and Plotting Built In Functions and Plotting Lecture Notes onday September 8 th 008 Monday September 8 , 2008

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
uilt In Functions Built In Functions Matlab has many uilt in functions. at ab as ay bu t uc t os . This is what makes it a much easier language to learn than most lower level languages Allows us to focus on the problem and the science, instead of programming a routine to plot a graph, for example Built in functions are covered in detail in Chapter 2 of your text Some of the more common, we’ll discuss here.
ecial Functions Special Functions clock displays an array [year month day hour minute seconds] date eps allest floating point number the machine will smallest floating point number the machine will recognize pi tic/toc shows time of execution of a set of statements

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
athematical Functions* Mathematical Functions ± sqrt m ± sum ± abs ± exp(x): x ± size(x): displays the size of an array (rows,cols) ± length(x): displays the length of the longest dimension e of x ± log(x), log10(x) ctorial(x): calculates the factorial of x ± factorial(x): calculates the factorial of x *note that these can, and will, be nested *also note that x can be a scalar or an array argument also note that x can be a scalar or an array argument
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 17

lecturenotes9_8 - Built In Functions and Plotting...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online