This repository contains MATLAB codes developed for various Mechanical Engineering courses at the University of Edinburgh. These projects showcase practical applications of MATLAB in engineering problem-solving and analysis.
File: TurbineOptimisation.m
This MATLAB code was developed for the Sustainable Energy Group Design Project in Mechanical Engineering Design 3. It focuses on the optimization of aerodynamic blade dimensions for turbines.
- Generates blade twist and chord distribution
- Selects optimum aerofoil profiles for different blade sections
- Performs efficient and accurate analysis of blade dimensions for required power generation
- Results were validated through 3D printing and lab testing with positive outcomes
This project focuses on implementing numerical solutions for heat and wave equations using MATLAB.
analytical_solution.m: Analytical solution to the PDEETM.m: Explicit Time-Marching method implementationFTCS.m: Forward-Time Centered-Space method for finite difference solutionspartc.m: Additional analysis or solution componentREPORT.docx: Detailed project report including analytical calculations
Each project folder contains the necessary MATLAB scripts and additional documentation. To run the scripts:
- Ensure you have MATLAB installed on your system.
- Navigate to the desired project folder.
- Open and run the main script file (e.g.,
TurbineOptimisation.mfor the turbine project). - Refer to individual script comments or accompanying documentation for specific usage instructions.


