Aim: To write a code to find global maxima using MATLAB. Objectives: 1) Optimize the user defined stalagmite function and find the global maxima using the Genetic Algorithm command. 2) Bring out the same final answer irrespective of the number of times the code is executed, since Genetic Algorithm command picks…
Swaminathan C
updated on 22 Dec 2020
Project Details
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Read more Projects by Swaminathan C (6)
Deriving 4th order approximation of a 2nd order derivative using Taylor Table method
Aim: To calculate the 2nd order derivative with 4th order approximation with Central Difference and Skewed Difference Schemes using MATLAB Given function: `f(x)=exp(x)**cos(x)` Formula: Exact solution: `f''(x)=-2 sin(x)**exp(x)` Number of nodes (CDS): `n=p+q-1` Number of nodes(Skewed Schemes): `n=p+q` where…
28 Sep 2021 12:21 AM IST
Rankine Cycle Simulator using MATLAB
Aim: To write a code to plot the Rankine cycle and to calculate the thermal efficiency of the cycle. Objectives: 1) Collect the required inputs of temperature and pressure from the user 2) Substitute these values in the formulas to calculate the work done and the thermal efficiency of the cycle 3) Plot the results…
15 Jan 2021 11:12 PM IST
Parsing NASA thermodynamic data using MATLAB
Aim: To write a code to calculate the Specific Heat, Enthalpy and Entropy of different speceis by reading the data from a file using Matlab. Objectives: 1) Read the coefficients from the NASA Thermodynamic data file in the correct order and substitute them in the appropriate formula to find the values of the Specific…
05 Jan 2021 11:22 PM IST
Simple Pendulum Animation by Solving 2nd Order ODE
Aim: Write a code to solve the 2nd order ODE govering the motion of a simple pendulum in MATLAB Matlab Code: Function (ode_func): function [dtheta_dt]=ode_func(theta,b,g,l,m) %unknown variables theta1=theta(1); theta2=theta(2); %angular position dtheta1_dt=theta2; %angular velocity dtheta2_dt=-(b/m)*theta2-(g/l)*sin(theta1);…
22 Dec 2020 07:04 PM IST
Genetic Algorithm Optimization using MATLAB
Aim: To write a code to find global maxima using MATLAB. Objectives: 1) Optimize the user defined stalagmite function and find the global maxima using the Genetic Algorithm command. 2) Bring out the same final answer irrespective of the number of times the code is executed, since Genetic Algorithm command picks…
22 Dec 2020 07:00 PM IST
Curve Fitting using MATLAB
Aim: To write a code to perform curve fitting using MATLAB Objectives: 1) Create linear and cubic fits and compare the goodness parameters of each fit for the given dataset (Temperature, Specific heat). 2) Perform splitwise operation to improve the fitness characteristics. Theory: Curve fitting is the process of constructing…
11 Dec 2020 12:05 PM IST