lecturenotes9_8 - BuiltInFunctionsandPlotting Built In...

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

View Full Document Right Arrow Icon
uilt In Functions and Plotting Built In Functions and Plotting Lecture Notes onday September 8 th 008 Monday September 8 , 2008
Background image of page 1

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

View Full DocumentRight Arrow Icon
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.
Background image of page 2
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
Background image of page 3

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

View Full DocumentRight Arrow Icon
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
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/25/2009 for the course BEE 1510 taught by Professor Staff during the Fall '05 term at Cornell University (Engineering School).

Page1 / 17

lecturenotes9_8 - BuiltInFunctionsandPlotting Built In...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online