Skip to content

Commit 78f01a9

Browse files
committed
backup
1 parent 97a6922 commit 78f01a9

File tree

1,549 files changed

+8848
-6727
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,549 files changed

+8848
-6727
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# IVP Solver Toolbox [![View ODE Solver Toolbox on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/103975-ode-solver-toolbox)
1+
# IVP Solver Toolbox [![View IVP Solver Toolbox on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/103975-ivp-solver-toolbox)
22

33
Collection of fixed-step IVP solvers, functions to generate IVP solver equations, and functions for transforming matrix IVPs to vector IVPs.
44

@@ -11,19 +11,19 @@ Collection of fixed-step IVP solvers, functions to generate IVP solver equations
1111
To open the home page of the toolbox documentation in MATLAB, type
1212

1313
```
14-
doc_IST
14+
doc_IVP
1515
```
1616

1717
in the Command Window. To open the documentation of a specific function with name `function_name` from the Command Window, type
1818

1919
```
20-
doc_IST function_name
20+
doc_IVP function_name
2121
```
2222

2323
To open the PDF file with the technical documentation (Solving_Initial_Value_Problems_for_ODEs.pdf) from the Command Window, type
2424

2525
```
26-
doc_IST tech
26+
doc_IVP tech
2727
```
2828

2929
## Main IVP Solver Function

docs/AB2_doc.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!--
77
This HTML was auto-generated from MATLAB code.
88
To make changes, update the MATLAB code and republish this document.
9-
--><title>AB2</title><meta name="generator" content="MATLAB 9.11"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-06-06"><meta name="DC.source" content="AB2_doc.m"><style type="text/css">
9+
--><title>AB2</title><meta name="generator" content="MATLAB 9.11"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-06-07"><meta name="DC.source" content="AB2_doc.m"><style type="text/css">
1010
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
1111

1212
html { min-height:100%; margin-bottom:1px; }
@@ -67,8 +67,8 @@
6767

6868

6969

70-
</style></head><body><div class="content"><h1><tt>AB2</tt></h1><!--introduction--><p>Propagates the state vector forward one time step using the Adams-Bashforth 2nd-order method.</p><p><a href="index.html">Back to IVP Solver Toolbox Contents</a>.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Syntax</a></li><li><a href="#2">Description</a></li><li><a href="#3">Input/Output Parameters</a></li><li><a href="#4">See also</a></li></ul></div><h2 id="1">Syntax</h2><pre class="language-matlab">F = AB2(f,t,F,h)
71-
</pre><h2 id="2">Description</h2><p><tt>F = AB2(f,t,y,h)</tt> updates the <img src="AB2_doc_eq03148538246847756930.png" alt="$\mathbf{F}$" style="width:8px;height:8px;"> matrix, <tt>F</tt>, for the next sample time, given the <img src="AB2_doc_eq03148538246847756930.png" alt="$\mathbf{F}$" style="width:8px;height:8px;"> matrix at time <tt>t</tt>, the function <tt>f(t,y)</tt> defining the ODE <img src="AB2_doc_eq13964145860186194730.png" alt="$\dot{\mathbf{y}}=\mathbf{f}(t,\mathbf{y})$" style="width:50px;height:11px;">, and the step size <tt>h</tt>.</p><h2 id="3">Input/Output Parameters</h2><p>
70+
</style></head><body><div class="content"><h1><tt>AB2</tt></h1><!--introduction--><p>Propagates the state vector forward one time step using the Adams-Bashforth 2nd-order method.</p><p><a href="index.html">Back to IVP Solver Toolbox Contents</a>.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Syntax</a></li><li><a href="#2">Description</a></li><li><a href="#3">Input/Output Parameters</a></li><li><a href="#4">Note</a></li><li><a href="#5">See also</a></li></ul></div><h2 id="1">Syntax</h2><pre class="language-matlab">F = AB2(f,t,F,h)
71+
</pre><h2 id="2">Description</h2><p><tt>F = AB2(f,t,y,h)</tt> updates the <img src="AB2_doc_eq03148538246847756930.png" alt="$\mathbf{F}$" style="width:8px;height:8px;"> matrix, <tt>F</tt>, for the next sample time, given the <img src="AB2_doc_eq03148538246847756930.png" alt="$\mathbf{F}$" style="width:8px;height:8px;"> matrix at the current time <tt>t</tt>, the function <tt>f(t,y)</tt> defining the ODE <img src="AB2_doc_eq11546780198861005830.png" alt="$d\mathbf{y}/dt=\mathbf{f}(t,\mathbf{y})$" style="width:71px;height:11px;">, and the step size <tt>h</tt>.</p><h2 id="3">Input/Output Parameters</h2><p>
7272
<table border=1>
7373
<tr>
7474
<td></td>
@@ -97,7 +97,7 @@
9797
<tr>
9898
<td style="text-align:center"><TT>F</TT></td>
9999
<td style="text-align:center"><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /></td>
100-
<td><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /> matrix (see Section 3.5.2 of the <a href="https://tamaskis.github.io/documentation/Solving_Initial_Value_Problems_for_ODEs.pdf">technical documentation</a>)for the current sample time</td>
100+
<td><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /> matrix (see Section 3.5.2 of the <a href="https://tamaskis.github.io/documentation/Solving_Initial_Value_Problems_for_ODEs.pdf">technical documentation</a>) for the current sample time</td>
101101
<td style="text-align:center">p×3<BR>double</td>
102102
</tr>
103103
<tr>
@@ -110,11 +110,11 @@
110110
<td rowspan="1" style="text-align:center"><b>Output</b></td>
111111
<td style="text-align:center"><TT>F</TT></td>
112112
<td style="text-align:center"><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /></td>
113-
<td><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /> matrix (see Section 3.5.2 of the <a href="https://tamaskis.github.io/documentation/Solving_Initial_Value_Problems_for_ODEs.pdf">technical documentation</a>)for the next sample time</td>
113+
<td><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /> matrix (see Section 3.5.2 of the <a href="https://tamaskis.github.io/documentation/Solving_Initial_Value_Problems_for_ODEs.pdf">technical documentation</a>) for the next sample time</td>
114114
<td style="text-align:center">p×3<BR>double</td>
115115
</tr>
116116
</table>
117-
</p><h2 id="4">See also</h2><p><a href="AB2_doc.html"><tt>AB2</tt></a> | <a href="AB3_doc.html"><tt>AB3</tt></a> | <a href="AB4_doc.html"><tt>AB4</tt></a> | <a href="AB5_doc.html"><tt>AB5</tt></a> | <a href="AB6_doc.html"><tt>AB6</tt></a> | <a href="AB7_doc.html"><tt>AB7</tt></a> | <a href="AB8_doc.html"><tt>AB8</tt></a></p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2021b</a><br></p></div><!--
117+
</p><h2 id="4">Note</h2><div><ul><li><img src="AB2_doc_eq06235627993914477729.png" alt="$p=$" style="width:17px;height:8px;"> dimension of the state vector (for the scalar case, <img src="AB2_doc_eq14406891124849479077.png" alt="$p=1$" style="width:25px;height:10px;">).</li></ul></div><h2 id="5">See also</h2><p><a href="AB3_doc.html"><tt>AB3</tt></a> | <a href="AB4_doc.html"><tt>AB4</tt></a> | <a href="AB5_doc.html"><tt>AB5</tt></a> | <a href="AB6_doc.html"><tt>AB6</tt></a> | <a href="AB7_doc.html"><tt>AB7</tt></a> | <a href="AB8_doc.html"><tt>AB8</tt></a></p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2021b</a><br></p></div><!--
118118
##### SOURCE BEGIN #####
119119
%% |AB2|
120120
% Propagates the state vector forward one time step using the
@@ -125,9 +125,9 @@
125125
% F = AB2(f,t,F,h)
126126
%% Description
127127
% |F = AB2(f,t,y,h)| updates the $\mathbf{F}$ matrix, |F|, for the next
128-
% sample time, given the $\mathbf{F}$ matrix at time |t|, the function
129-
% |f(t,y)| defining the ODE $\dot{\mathbf{y}}=\mathbf{f}(t,\mathbf{y})$,
130-
% and the step size |h|.
128+
% sample time, given the $\mathbf{F}$ matrix at the current time |t|, the
129+
% function |f(t,y)| defining the ODE
130+
% $d\mathbf{y}/dt=\mathbf{f}(t,\mathbf{y})$, and the step size |h|.
131131
%% Input/Output Parameters
132132
% <html>
133133
% <table border=1>
@@ -158,7 +158,7 @@
158158
% <tr>
159159
% <td style="text-align:center"><TT>F</TT></td>
160160
% <td style="text-align:center"><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /></td>
161-
% <td><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /> matrix (see Section 3.5.2 of the <a href="https://tamaskis.github.io/documentation/Solving_Initial_Value_Problems_for_ODEs.pdf">technical documentation</a>)for the current sample time</td>
161+
% <td><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /> matrix (see Section 3.5.2 of the <a href="https://tamaskis.github.io/documentation/Solving_Initial_Value_Problems_for_ODEs.pdf">technical documentation</a>) for the current sample time</td>
162162
% <td style="text-align:center">p×3<BR>double</td>
163163
% </tr>
164164
% <tr>
@@ -171,13 +171,14 @@
171171
% <td rowspan="1" style="text-align:center"><b>Output</b></td>
172172
% <td style="text-align:center"><TT>F</TT></td>
173173
% <td style="text-align:center"><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /></td>
174-
% <td><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /> matrix (see Section 3.5.2 of the <a href="https://tamaskis.github.io/documentation/Solving_Initial_Value_Problems_for_ODEs.pdf">technical documentation</a>)for the next sample time</td>
174+
% <td><img src="https://latex.codecogs.com/svg.latex?\inline&space;\mathbf{F}" title="" /> matrix (see Section 3.5.2 of the <a href="https://tamaskis.github.io/documentation/Solving_Initial_Value_Problems_for_ODEs.pdf">technical documentation</a>) for the next sample time</td>
175175
% <td style="text-align:center">p×3<BR>double</td>
176176
% </tr>
177177
% </table>
178178
% </html>
179+
%% Note
180+
% * $p=$ dimension of the state vector (for the scalar case, $p=1$).
179181
%% See also
180-
% <AB2_doc.html |AB2|> |
181182
% <AB3_doc.html |AB3|> |
182183
% <AB4_doc.html |AB4|> |
183184
% <AB5_doc.html |AB5|> |
0 Bytes
Loading
642 Bytes
Loading
3.52 KB
Loading
854 Bytes
Loading

0 commit comments

Comments
 (0)