You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial GitHub commit. Modifications listed below based on version 1.0 on the MATLAB File Exchange.
Fixes
- Fixed control continuity constraints (should not have been present)
Changes
- PS_Fmatrix requires the derivative function to be vectorized now
Features
- Added capability to solve variable final time problems
- Added moon lander example (variable horizon problem)
- Added defaults options function (see the function for the options)
- Download the [project files](https://github.com/danielrherber/basic-multiple-interval-pseudospectral/archive/master.zip)
17
+
- Run [INSTALL_Basic_Pseudospectral.m](https://github.com/danielrherber/basic-multiple-interval-pseudospectral/blob/master/INSTALL_Basic_Pseudospectral.m) in the MATLAB Command Window *(automatically adds project files to your MATLAB path, downloads the required files, and opens an example)*
18
+
```matlab
19
+
INSTALL_Basic_Pseudospectral
20
+
```
21
+
- See [BD_main.m](https://github.com/danielrherber/basic-multiple-interval-pseudospectral/blob/master/examples/BD_main.m) to run the Bryson-Denham example
22
+
```matlab
23
+
open BD_main
24
+
```
25
+
- See the technical report [[PDF]](http://systemdesign.illinois.edu/publications/Her15a.pdf) for the theory and case study results
26
+
27
+
### Citation
28
+
The code is complementary material for the following publication:
29
+
- DR Herber. **Basic Implementation of Multiple-Interval Pseudospectral Methods to Solve Optimal Control Problems.** Technical report, Engineering System Design Lab, UIUC-ESDL-2015-01, Urbana, IL, USA, Jun 2015. [[PDF]](http://systemdesign.illinois.edu/publications/Her15a.pdf)
30
+
31
+
### Description
32
+
The two numerical schemes are used: the Legendre pseudospectral method with LGL nodes and the Chebyshev pseudospectral method with CGL nodes. The results from the case studies using the Bryson-Denham problem demonstrate the effect of user's choice in mesh parameters and little difference between the two numerical pseudospectral schemes. The solution procedure is independent of Bryson-Denham problem the test so other optimal control problems can be solved with the accompanying code.
33
+
34
+
The main purpose of this submission is to provide a reference for the basic implementation of multiple-interval pseudospectral methods. Paired with the technical report of the same name, I hope to help bring this advanced method for solving optimal control problems to a broader audience (especially in the classroom).
35
+
36
+
### External Includes
37
+
See [INSTALL_Basic_Pseudospectral.m](https://github.com/danielrherber/basic-multiple-interval-pseudospectral/blob/master/INSTALL_Basic_Pseudospectral.m) for more information
- Code from Lloyd N. Trefethen. **Spectral Methods in MATLAB**, SIAM, 2000. [[URL]](https://people.maths.ox.ac.uk/trefethen/spectral.html)
40
+
- Code from J. Shen, T. Tang, and L. Wang. **Spectral Methods: Algorithms, Analysis and Applications**, Springer, 2011. [[URL]](http://www.ntu.edu.sg/home/lilian/book.htm)
41
+
42
+
---
43
+
### General Information
44
+
45
+
#### Contributors
46
+
-[Daniel R. Herber](https://github.com/danielrherber)
0 commit comments