主要内容

应用

使用 Symbolic Math Toolbox™ 执行特定于应用的工作流

Symbolic Math Toolbox 提供了求解、绘制和操作数学表达式的工具,它们能够以高精度进行解析和数值计算。根据符号计算结果,您还可以生成 MATLAB® 函数、Simulink® Function 模块和 Simscape™ 方程,以与其他工具箱一起使用。使用这些工具执行特定于应用的工作流。

教学与研究

数学

物理

数学系统建模

Animation and Model of Automotive Piston

This example shows how to model the motion of an automotive piston by using MATLAB and Symbolic Math Toolbox.

Padé Approximant of Time-Delay Input

This example shows how to use a Padé approximant in control system theory to model time delays in the response of a first-order system.

Analytical Model of Cantilever Truss Structure for Simscape

This example shows how to find parameterized analytical expressions for the displacement of a joint of a cantilever truss structure in both the static and frequency domains.

Estimate Model Parameters of a Symbolically Derived Plant Model in Simulink

This example uses Simulink Design Optimization to estimate the unknown capacitance and initial voltage of a symbolically derived algebraic model of a simple resistor-capacitor (RC) circuit.

Customize and Extend Simscape Libraries for a Custom DC Motor

Create custom-equation-based components for the Simscape library using Symbolic Math Toolbox.

Finite Element Formulation for Timoshenko Beam Problem

This example shows how to apply the finite element method (FEM) to solve a Timoshenko beam problem, using both linear and quadratic basis functions for analysis.

Analyze Transfer Function of T-Coil Circuit

This example shows how to analyze the transfer function of a T-coil circuit using Symbolic Math Toolbox™ and Control System Toolbox™.

机器人控制系统

Analytical Solutions of the Inverse Kinematics of a Humanoid Robot

This example shows how to derive analytical solutions for the inverse kinematics of the head chain of a humanoid robot.

Derive and Apply Inverse Kinematics to Two-Link Robot Arm

This example shows how to derive and apply inverse kinematics to a two-link robot arm by using MATLAB and Symbolic Math Toolbox.

Derive Quadrotor Dynamics for Nonlinear Model Predictive Control

This example shows how to derive a continuous-time nonlinear model of a quadrotor using Symbolic Math Toolbox.

Derive Equations of Motion and Simulate Cart-Pole System

This example shows how to derive the equations of motion for the cart-pole system using Symbolic Math Toolbox™ and then simulate the cart-pole system using the ode45 solver.

量化金融

The Black–Scholes Formula for Call Option Price

This example shows how to calculate the call option price using the Black–Scholes formula.

Explore Single-Period Asset Arbitrage

Explore basic arbitrage concepts in a single-period, two-state asset portfolio.

Simulate a Stochastic Process Using the Feynman–Kac Formula

This example 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.

Markov Chain Analysis and Stationary Distribution

This example shows how to derive the symbolic stationary distribution of a trivial Markov chain by computing its eigen decomposition.

精选示例