CodeBlue

Welcome to my blog!

Optimization of a function through genetic algorithm

2022-02-08 Matlab Satya K
AIM: The aim of this project is to write a MATLAB program to optimize the stalagmite function and find the GLOBAL MAXIMA of the function. STALAGMITE FUNCTION: Stalagmite function is as shown in the figure it is just like any other function. Here we are using the stalagmite function as a function that needs to be optimized to show how we can use MATLAB’s in-built function GA to optimize the stalagmite function. Continue reading

Parsing NASA thermodynamic data using MATLAB

2022-01-26 Matlab Satya K
AIM: The aim of this project is to write a MATLAB program that can read a file that contains thermodynamic data in a polynomial format (eg. files from CHEMKIN II). NASA thermodynamic data OBJECTIVES OF THE PROJECT: The above file contains a set of compounds for which a set of coefficients are given. These coefficients are used in the above equation to get the values for Cp, enthalpy, and entropy. Each compound or gas contains 14 coefficient and the first 7 coefficients are to be used if the temperature are high and the next 7 coefficients are to be used if the temperatures are low. Continue reading