Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MATLAB learning archive banner with matrix, optimization contour, plot curve, and graph motifs

MATLAB files: 23 Static check: 15 of 23 MATLAB files produced no checkcode warnings Scope: learning archive

MATLAB Code

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

Quick Start

  1. Open MATLAB from the repository root.
  2. Add the repository folders to the MATLAB path if needed.
  3. 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.

At a Glance

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

Topic map from MATLAB to optimization, decision making, graph algorithms, and LTspice-related lab analysis

Topics

Optimization

Decision-Making Methods

Graph Theory and Shortest Paths

Graph_Theory-Shortest_Path contains graph-plotting notes, a shortest-path script, and the supporting find_Path function.

LTspice-Related Analysis

Circuit_Simulation-LTspice contains MATLAB plotting and data-analysis scripts for LTspice laboratory work. Included inputs are stored under Example_Data.

Repository Structure

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

Requirements and Data

  • The archived static check used MATLAB R2017b.
  • Optimization examples may require Optimization Toolbox functions such as linprog, intlinprog, and fmincon.
  • Plotting_Syntax.m contains a biograph example 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.m references date.xlsx, but that exact input file is not present.

Static Check Status

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.

Known Limitations

  • 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 checkcode pass.
  • Generated outputs and workspace backups remain excluded from version control.

Releases

Packages

Contributors

Languages