top of page
Search


Understanding Genetic Algorithm (GA)
Adisorn Owatsiriwong Computer programs that "evolve" in ways that resemble natural selection can solve complex problems even their...
Adisorn O.
May 7, 20232 min read
Ā
Ā


Getting to know MATLAB's Cell
Sometimes we want to store various data types into a single array. Thinking of a container that can store various things in separate...
Adisorn O.
Apr 17, 20231 min read
Ā
Ā


Gradient Descent Method with Examples
Gradient descent, or 'Downhill algorithm,' is one of the simplest algorithms for optimization problems. The algorithm searches for the...
Adisorn O.
Mar 30, 20231 min read
Ā
Ā


MATLAB's sum() function
MATLAB provides a simple but efficient sum( ) function to sum column or row vector, as well as all elements in arrays. Syntax:...
Adisorn O.
Mar 17, 20231 min read
Ā
Ā


SHAPE OPTIMIZATION OF A 3-BAR TRUSS SYSTEM
We apply a non-linearly constrained optimization to a simple 3-bar truss system for this example. The following MATLAB scripts are...
Adisorn O.
Mar 9, 20231 min read
Ā
Ā


LINEAR PROGRAMMING USING LINPROG
This example demonstrates using MATLAB's Optimization Toolbox app for linear programming. Objective function: f = 4x + y Design...
Adisorn O.
Mar 9, 20231 min read
Ā
Ā


IN-LINE VS. ANONYMOUS FUNCTION
Sometimes we must define a short function for using with our main program or inside the user function. The in-line function is made for this purpose. It is easy to define a single return value function without creating an m-file. The syntax of the in-line function is in the form. f = inline('expression', 'p1', 'p2',...) An anonymous function is an advanced form of an in-line function. It requires no use of quotation marks for the expression and input arguments. f = @(p1,p2,..
Adisorn O.
Mar 9, 20231 min read
Ā
Ā


GLOBAL VS. LOCAL VARIABLES
Local variables exist only within their scopeāthe main program or the user-defined functions. In contrast, global variables exist...
Adisorn O.
Mar 8, 20231 min read
Ā
Ā


A SUMMARY OF PROGRAM FLOW CONTROL IN MATLAB
This blog summarizes the program's flow control in MATLAB for quick reminders. If...else...end If (condition 1 == true) statements 1...
Adisorn O.
Mar 8, 20231 min read
Ā
Ā


INTRODUCING DESIGN OPTIMIZATION BLOG
This blog session emphasizes the applications in design optimization, especially in structural mechanics and geotechnical engineering...
Adisorn O.
Mar 6, 20231 min read
Ā
Ā


Design optimization of two-way post-tensioned concrete slab using simulated annealing algorithm
(PDF) Design optimization of two-way post-tensioned concrete slab using simulated annealing algorithm (researchgate.net) This paper...
Adisorn O.
Feb 20, 20231 min read
Ā
Ā
bottom of page
