MATLAB Survival Toolbox is an educational open-source collection of numerical algorithms originally developed during my Civil Engineering studies at the Universitat Politècnica de Catalunya (UPC).
The project aims to provide accessible, understandable and reproducible implementations of fundamental numerical methods used in computational engineering.
Originally developed as an academic resource, the project is now being progressively modernized with improved numerical robustness, documentation and software engineering practices.
- Provide educational implementations of numerical methods.
- Support engineering students and computational researchers.
- Connect mathematical theory with practical programming.
- Promote reproducible computational engineering.
- Improve numerical accuracy and software reliability.
| Algorithm | Description | Source |
|---|---|---|
| Forward Substitution | Lower triangular systems | Source |
| Backward Substitution | Upper triangular systems | Source |
| Gaussian Elimination | Linear systems with partial pivoting | Source |
Original academic implementations are preserved for historical and educational purposes.
These implementations are not actively validated.
| Algorithm | Source |
|---|---|
| Gaussian Elimination | Source |
| Forward Substitution | Source |
| Backward Substitution | Source |
| Euler's Number Approximation | Source |
| Whittaker's Method | Source |
Open the repository root directory in MATLAB.
Add the source code to the MATLAB search path:
addpath(genpath('src'));Run the linear system example:
run('examples/example_linear_system.m');Execute the automated test suite:
addpath(genpath('src'));
results = runtests('tests');
disp(results);
assert(~isempty(results) && all([results.Passed]));The toolbox is intended for educational and research purposes. It is not certified for production or safety-critical engineering applications.
The numerical algorithms must be independently verified before being used in real engineering projects.
- Professional repository documentation
- Modular directory structure
- Standardized function documentation
- Input validation
- Review of legacy implementations
- Automated unit tests
- Comparison with built-in MATLAB functions
- Numerical error analysis
- Performance benchmarks
- Reproducible examples
- Nonlinear equation solvers
- Numerical interpolation
- Numerical differentiation
- Numerical integration
- Ordinary differential equations
- Numerical optimization
- Structural engineering examples
- Transportation engineering applications
- Civil infrastructure modelling
- Applied computational case studies
Contributions, corrections, suggestions and educational examples are welcome through GitHub Issues and Pull Requests.
This project is distributed under the GNU General Public License v3.0.
See the LICENSE file for details.
Raúl Galdeano Pazos — The Winter Coder
Civil Engineering | Computational Engineering | Data & Automation | Transportation Systems
Survival is just the first step — mastery comes next.
Ad Victoriam!