Curated MATLAB portfolio focused on reduced-order physiological modeling, feedback control, and nonlinear biological dynamics.
This repository is organized as a small modeling portfolio rather than a flat archive of coursework exercises. The two main projects are the circulation and respiratory codebases, each refactored into reusable MATLAB project structures with shared functions, scenario-specific runners, saved figures, and lightweight verification scripts.
Alongside those core projects, a smaller set of supplementary modules captures additional work in membrane dynamics, hemodialysis transport, nonlinear chaos, and neuronal spiking.
The repository emphasizes:
- compartmental and reduced-order physiological modeling
- ordinary differential equation simulation in MATLAB
- feedback and control in biomedical systems
- numerical verification and project-style code organization
- interpretation of nonlinear and excitable biological dynamics
core_projects/
|-- circulation_dynamics_control/
`-- respiratory_mechanics_gas_exchange/
supplementary_modules/
|-- membrane_dynamics/
|-- hemodialysis_dynamics/
|-- nonlinear_dynamics_chaos/
`-- hodgkin_huxley_neuron/
Refactored MATLAB project for systemic hemodynamics under hemorrhage. It progresses from an uncontrolled baseline to numerical-method validation and then to pressure-based feedback control.
Key elements:
- open-loop hemorrhage simulation
- Euler, eigen-decomposition, and matrix-exponential validation
- controlled versus uncontrolled hemodynamic response
- shared simulation, plotting, and verification utilities
Main entry points:
core_projects/circulation_dynamics_control/baseline_hemorrhage/run_baseline_hemorrhage.mcore_projects/circulation_dynamics_control/methods_validation/run_methods_validation.mcore_projects/circulation_dynamics_control/feedback_control/run_feedback_control.mcore_projects/circulation_dynamics_control/verify_circulation_project.m
Refactored MATLAB project for respiratory-system modeling, moving from spontaneous breathing mechanics to assisted ventilation and then to higher-level gas-exchange regulation.
Key elements:
- resistance-compliance respiratory mechanics
- assisted ventilation and flow-tracking control
- CO2 and CO2/O2 gas-exchange regulation studies
- shared simulation, plotting, and verification utilities
Main entry points:
core_projects/respiratory_mechanics_gas_exchange/spontaneous_breathing/run_spontaneous_breathing.mcore_projects/respiratory_mechanics_gas_exchange/assisted_ventilation/run_natural_breathing.mcore_projects/respiratory_mechanics_gas_exchange/assisted_ventilation/run_controlled_breathing.mcore_projects/respiratory_mechanics_gas_exchange/gas_exchange_control/run_gas_exchange_open_loop.mcore_projects/respiratory_mechanics_gas_exchange/gas_exchange_control/run_gas_exchange_controlled.mcore_projects/respiratory_mechanics_gas_exchange/verify_respiratory_project.m
These modules remain standalone because they represent distinct physiological or dynamical topics rather than direct extensions of the two core project stories. They add breadth to the portfolio, but the primary work is represented by the two core projects above.
- Membrane Dynamics: first-order electrophysiological membrane dynamics under step and sinusoidal forcing
- Hemodialysis Dynamics: two-compartment solute, osmolarity, and fluid-volume dynamics during single and repeated dialysis sessions
- Nonlinear Dynamics and Chaos: Lorenz and Rossler attractors, sensitivity to initial conditions, and qualitative parameter variation
- Hodgkin-Huxley Neuron: conductance-based spiking dynamics under constant current stimulation
hemodialysis_dynamics stays supplementary rather than joining the respiratory project because it is fundamentally a solute-transport and ultrafiltration model, not a respiratory mechanics or gas-exchange model.
- MATLAB simulation workflow design
- refactoring scripts into reusable functions
- parameter centralization and scenario organization
- figure standardization and lightweight verification
- modeling of circulation, ventilation, gas exchange, transport, and excitable dynamics
- Start with
core_projects/circulation_dynamics_control/for a compact example of physiological modeling, numerical validation, and feedback control. - Continue with
core_projects/respiratory_mechanics_gas_exchange/for a broader progression from mechanics to assistance and gas-regulation dynamics. - Then browse
supplementary_modules/based on interest: membrane dynamics, dialysis transport, nonlinear chaos, or neuronal spiking.
These projects were developed in an academic modeling context and then curated into a cleaner portfolio structure. The emphasis here is on clear formulation, reproducible MATLAB workflows, and honest presentation of reduced-order models rather than claims of clinical or experimental validation.
- No external MATLAB toolbox is required for the provided scripts.
- The two core projects include lightweight verification scripts for quick sanity checks after refactoring.
- The supplementary modules are intentionally kept simpler and more self-contained for now.