Professional Interests: Multi-objective optimization, Robust optimization, Swarm intelligence, Computational intelligence

Solved

Find the largest value in the 3D matrix

Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

15 days ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

15 days ago

Solved

Back and Forth Rows

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

15 days ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

15 days ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

15 days ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

15 days ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

15 days ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

15 days ago

Answered

What are the best free MATLAB resources for image processing?

You can find nice tutorials here: <https://au.mathworks.com/help/images/getting-started-with-image-processing-toolbox.html>

What are the best free MATLAB resources for image processing?

You can find nice tutorials here: <https://au.mathworks.com/help/images/getting-started-with-image-processing-toolbox.html>

15 days ago | 0

Answered

Help needed to decrease computational time by removing for loops

By the way, if you want to check the speed, just write: tic // code fragment for either for loop of vectoriaed version. ...

Help needed to decrease computational time by removing for loops

By the way, if you want to check the speed, just write: tic // code fragment for either for loop of vectoriaed version. ...

15 days ago | 0

Answered

Help needed to decrease computational time by removing for loops

You can use the concept of vectorization. Here is an example: With for loop: for k = 1 : 10 a(k) = k ^ 2; end ...

Help needed to decrease computational time by removing for loops

You can use the concept of vectorization. Here is an example: With for loop: for k = 1 : 10 a(k) = k ^ 2; end ...

15 days ago | 0

Answered

I am not sure about the declaration of 4 variables..

In Matlab, you do not declare a variable. However, if you ask how to initialise four variables, here is the code: var1 = 0 ...

I am not sure about the declaration of 4 variables..

In Matlab, you do not declare a variable. However, if you ask how to initialise four variables, here is the code: var1 = 0 ...

15 days ago | 0

Answered

How to compare tables/cells/characters?

Does the following help? tf = strcmp(s1,s2) compares s1 and s2 and returns 1 (true) if the two are identical and 0 (false) ot...

How to compare tables/cells/characters?

Does the following help? tf = strcmp(s1,s2) compares s1 and s2 and returns 1 (true) if the two are identical and 0 (false) ot...

15 days ago | 0

Answered

Plotting a 3D graph, incorrect solution.

The problem is that after exiting the for loops, x and y are both equal to 100. So, they are scalars and cannot be used in surf....

Plotting a 3D graph, incorrect solution.

The problem is that after exiting the for loops, x and y are both equal to 100. So, they are scalars and cannot be used in surf....

15 days ago | 0

| accepted

Answered

xlswrite too large imput

I had the same issue and managed to fix it. I was trying to create a file that did not exist in the path. So, I created the file...

xlswrite too large imput

I had the same issue and managed to fix it. I was trying to create a file that did not exist in the path. So, I created the file...

1 month ago | 0

Submitted

Multi-Objective Multi-Verse Optimization (MOMVO) algorithm

The multi-objective version of the Multi-Verse Optimization Algorithm

8 months ago | 14 downloads |

Submitted

MOGOA: Multi-Objective Grasshopper Optimization Algorithm

The multi-objective version of the Grasshopper Optimization Algorithm (MOGOA)

8 months ago | 26 downloads |

Submitted

MSSA: Multi-objective Salp Swarm Algorithm

The multi-objective version of the Salp Swarm Algorithm (SSA)

8 months ago | 22 downloads |

Submitted

SSA: Salp Swarm Algorithm

SSA is a novel algorithm for solving single-objective optimization problems

8 months ago | 34 downloads |

Answered

I can not create a matrix

Please note that curly brace ({i}) makes a cell array and not a matrix. You have to use square brackets instead: [] So: ...

I can not create a matrix

Please note that curly brace ({i}) makes a cell array and not a matrix. You have to use square brackets instead: [] So: ...

12 months ago | 0

Submitted

Grasshopper Optimisation Algorithm (GOA)

GOA is a novel meta-heuristic algorithm for global optimisation

1 year ago | 44 downloads |

Answered

I need help writing a program to pick the largest number in a list

Try this: my_max = -inf; for k=1:length(y) % y is your array if my_max < y(k) my_max = y(k); end ...

I need help writing a program to pick the largest number in a list

Try this: my_max = -inf; for k=1:length(y) % y is your array if my_max < y(k) my_max = y(k); end ...

1 year ago | 0

| accepted

Answered

how to plot multiple 3d functions in one graph for x=0,z=0,x=2y,x+2y+z=2

Generally speaking, Matlab overwrites a plot when you draw something. If you with to draw multiple things, try to freeze the plo...

how to plot multiple 3d functions in one graph for x=0,z=0,x=2y,x+2y+z=2

Generally speaking, Matlab overwrites a plot when you draw something. If you with to draw multiple things, try to freeze the plo...

1 year ago | 0

| accepted

Submitted

GSA + Chaotic Gravitational Constant

Improving Gravitational Search Algorithm with chaotic gravitational constant

1 year ago | 23 downloads |

Submitted

Multi-objective Ant Lion Optimizer (MOALO)

The multi-objective version of the recently proposed Ant Lion Optimizer

1 year ago | 36 downloads |

Submitted

A new MATLAB optimization toolbox

This toolbox includes all my proposed optimization algorithms (GWO, ALO, MVO, DA, MFO, SCA, and WOA)

2 years ago | 38 downloads |

Submitted

Multi-Objective Grey Wolf Optimizer (MOGWO)

The Multi-objective version of the recently proposed Grey Wolf Optimizer (GWO).

2 years ago | 24 downloads |

Submitted

The Whale Optimization Algorithm

WOA is a new algorithm for solving single-objective optimization problems

2 years ago | 69 downloads |

Submitted

Whale Optimization Algorithm Toolbox

A toolbox for the Whale Optimization Algorithm (WOA) for solving optimization problems

2 years ago | 12 downloads |