A learning archive of MATLAB implementations for numerical optimization, decision-making methods, graph algorithms, and LTspice-related analysis.
Quick Start · At a Glance · Topics · Repository Structure · Requirements & Data · Static Check · Known Limitations
- Open MATLAB from the repository root.
- Add the repository folders to the MATLAB path if needed.
- Choose one script from a topic directory and check its input/toolbox requirements before running it.
For example:
addpath(genpath(pwd))
run("Source_Code/Optimization/Linear_Programming/Linear_Programming.m")Several files are interactive or data-dependent; this repository is not designed as a single all-files execution workflow.
| Item | Archived state |
|---|---|
| MATLAB source files | 23 — 22 scripts and 1 function |
| Static analysis | MATLAB R2017b checkcode |
| No-warning files | 15 / 23 |
| Files with warnings | 8 / 23 — 18 style or maintainability warnings |
| Execution evidence | Scripts were not all executed during the archived static pass |
| Repository scope | Learning implementations, not a production numerical package |
- Linear Programming contains introductory
linprogexamples. - Integer Programming contains
intlinprogand simulation-oriented exercises. - Nonlinear Programming contains
fminconexamples.
- Analytic Hierarchy Process
- Entropy Weight Method
- TOPSIS
- Grey Relational Analysis
- Fuzzy Comprehensive Evaluation
Graph_Theory-Shortest_Path contains graph-plotting notes, a shortest-path script, and the supporting find_Path function.
Circuit_Simulation-LTspice contains MATLAB plotting and data-analysis scripts for LTspice laboratory work. Included inputs are stored under Example_Data.
MATLAB_Code/
├── Source_Code/
│ ├── Optimization/
│ ├── Decision_Making/
│ ├── Graph_Theory-Shortest_Path/
│ └── Circuit_Simulation-LTspice/
├── Example_Data/ selected script inputs
├── Reports/ audit and verification notes
├── docs/assets/ local presentation assets
└── README.md
- The archived static check used MATLAB R2017b.
- Optimization examples may require Optimization Toolbox functions such as
linprog,intlinprog, andfmincon. Plotting_Syntax.mcontains abiographexample that may require the Bioinformatics Toolbox in older MATLAB installations.- Included examples cover TOPSIS, grey relational analysis, fuzzy comprehensive evaluation, and LTspice labs.
Entropy_Weight_Method.mreferencesdate.xlsx, but that exact input file is not present.
MATLAB checkcode was run against all 23 .m files without executing the scripts. Fifteen files produced no warnings; eight files produced 18 style or maintainability warnings, primarily about semicolons, preallocation, brackets, and output-list style. No checkcode invocation failed.
This is static-analysis evidence, not a claim that 23/23 scripts passed runtime tests. The per-file record is available in Reports/MATLAB_Audit.md.
- The repository preserves learning exercises and does not claim that every script is independently runnable.
- Some scripts require interactive command-window input, specific MATLAB toolboxes, or external data.
- One referenced input,
date.xlsx, is missing from the archived source package. - Runtime behavior was not comprehensively validated in the archived
checkcodepass. - Generated outputs and workspace backups remain excluded from version control.