Slope Field Generator for ODEs (slope_field)

版本 3.1.0 (87.6 KB) 作者: Tamas Kis
Draws the slope field of a first-order, univariate, ordinary differential equation.
913.0 次下载
更新时间 2022/7/5

slope_field View Slope Field Generator for ODEs (slope_field) on File Exchange

Draws the slope field of a first-order, univariate, ordinary differential equation.

Syntax

slope_field(f,[xmin,xmax],[ymin,ymax])
slope_field(f,[xmin,xmax],[ymin,ymax],density,color,width)
fig = slope_field(__)

Description

slope_field(f,[xmin,xmax],[ymin,ymax]) draws the slope field of a differential equation , where f is the function handle of , and where [xmin,xmax] and [ymin,ymax] define the domain over which the slope field is drawn.

slope_field(f,[xmin,xmax],[ymin,ymax],density,color,width) draws the slope field of a differential equation , where f is the function handle of , and where [xmin,xmax] and [ymin,ymax] define the domain over which the slope field is drawn. Additionally, density defines the number of lines to draw in the horizontal direction (effectively controlling how many lines are drawn to create the slope field), and color and width define the color and line width, respectively, of the lines.

fig = slope_field(__) draws the slope field and also returns the figure handle of the slope field. You can use any of the input arguments in the previous syntaxes.

Examples

  • See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.

引用格式

Tamas Kis (2024). Slope Field Generator for ODEs (slope_field) (https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v3.1.0), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
3.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v3.1.0

3.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v3.0.2

3.0.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v3.0.1

3.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v3.0.0

2.0.5

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v2.0.5

2.0.4

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v2.0.4

2.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v2.0.3

2.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v2.0.2

2.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v2.0.1

2.0.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v2.0.0

1.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/slope_field-MATLAB/releases/tag/v1.0.1

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库