Posts Tagged ‘rand’
Analysis of Functions, Interpolation, Curve Fitting, Integrals and Differential Equations 2
March 23rd, 2010 No Comments Posted in Documents
Localize minima and maxima of functions
Let us try to find the local minima and maxima for the function func(x). The interval of interest is [-6 0]. The algorithms are iterative. There are 2 methods to use. The first one decides x in a given interval, and the second one looks for x around an initial guess. To decide the maxima we are looking for an x that minimizes the negative function: -func(x). Read More
Tags: Analysis of Functions, applications, Command Window, curve, Define, differential, end, equations, Examples, fitting, for, format, full, Functions, grid, help, hold, if, inf, info, integral, integrals, integrand, interpolation, legend, load, matlab, mesh, meshgrid, minus, plot, polynomial, rand, randn, rem, round, sign, sum, title, tutorials, ver, what
arrayfun
December 5th, 2009 No Comments Posted in Functions
arrayfun – Apply function to each element of array Read More
Working with Matrices in Matlab
August 5th, 2009 No Comments Posted in Documents
Generating Matrices
MATLAB software provides four functions that generate basic matrices. Read More