MATLAB Examples

Use functional derivatives in the Symbolic Math Toolbox™ using the example of the wave equation. The wave equation for a string fixed at its ends is solved using functional derivatives. A

Do rotations and transforms in 3D using Symbolic Math Toolbox™ and matrices.

Work with large integers and their decimal representation using the Symbolic Math Toolbox™.

Extracts closed-form solutions for the coefficients of frequencies in an output signal. The output signal results from passing an input through an analytical nonlinear transfer

Finds the average radiation power of two attracting charges moving in an elliptical orbit (an electric dipole ).

Perform simple matrix computations using Symbolic Math Toolbox™.

Develops a mathematical model using the Symbolic Math Toolbox to undistort an image and features a local function in the live script.

Learn calculus and applied mathematics using the Symbolic Math Toolbox™. The example shows introductory functions fplot and diff .

Solve differential algebraic equations (DAEs) of high differential index using Symbolic Math Toolbox™.

Compute the inverse of a Hilbert matrix using Symbolic Math Toolbox™.

Simulates the tsunami wave phenomenon by using the Symbolic Math Toolbox™ to solve differential equations.

Solve polynomial equations and systems of equations, and work with the results using Symbolic Math Toolbox™.

Solve the eigenvalue problem of the Laplace operator on an L-shaped region.

Solve parameterized algebraic equations using the Symbolic Math Toolbox.

Compute definite integrals using Symbolic Math Toolbox™.

Model a bouncing ball, which is a classical hybrid dynamic system. This model includes both continuous dynamics and discrete transitions. It uses the Symbolic Math Toolbox to help explain

Obtains the partial differential equation that describes the expected final price of an asset whose price is a stochastic process given by a stochastic differential equation.

Derive the symbolic stationary distribution of a trivial Markov chain by computing its eigen decomposition.

Analytically find and evaluate derivatives using Symbolic Math Toolbox™. In the example you will find the 1st and 2nd derivative of f(x) and use these derivatives to find local maxima,

Use a Padé approximant in control system theory to model time delays in the response of a first-order system.

Use some elementary functions on sym objects using the Symbolic Math Toolbox™.

Explores basic arbitrage concepts in a single-period, two-state asset portfolio. The portfolio consists of a bond, a long stock, and a long call option on the stock.

Explores the physics of the damped harmonic oscillator by

Convert a second-order differential equation into a system of differential equations that can be solved using the numerical solver ode45 of MATLAB®.

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Contact your local office