Submitted

Multi-objectives Harmony Search Optimization

Multi-objectives Harmony Search optimization algorithm as Matlab function

9 Tage ago | 16 downloads |

Solved

Approximation of Pi (vector inputs)

Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

5 Monate ago

Solved

Approximation of Pi

Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

5 Monate ago

Solved

Mersenne Primes vs. All Primes

A Mersenne prime (M) is a prime number of the form M = 2^p - 1, where p is another prime number. <https://www.mathworks.com/matl...

5 Monate ago

Solved

Mersenne Primes

A Mersenne prime is a prime number of the form M = 2^p - 1, where p is another prime number. For example, 31 is a Mersenne prim...

5 Monate ago

Solved

MATLAB Counter

Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b. E...

5 Monate ago

Solved

5 Prime Numbers

Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

5 Monate ago

Solved

Recaman Sequence - II

Take an arbitrary starting point as input and create Recaman Sequence. Then find the 1, return its index. For example: if n =...

5 Monate ago

Solved

Recaman Sequence - I

Recaman Sequence (A005132 - <http://oeis.org/A005132 - OEIS Link>) is defined as follow; seq(0) = 0; for n > 0, seq(n) ...

5 Monate ago

Solved

Sums of Multiple Pairs of Triangular Numbers

This is a follow-up to <https://www.mathworks.com/matlabcentral/cody/problems/44289 Problem 44289> - Find two triangular numbers...

5 Monate ago

Solved

Find two triangular numbers whose sum is input.

Find two triangular numbers whose sum is _input_. Note: The difference beetween the triangular numbers should be minimum.

5 Monate ago

Solved

Van Eck's Sequence's nth member

Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

5 Monate ago

Solved

Write c^3 as sum of two squares a^2+b^2

write c^3 as sum of two squares a^2+b^2. a and b must be integer and greater than zero. For example 5^3 = 2^2 + 11^2 5...

5 Monate ago

Solved

Predicting life and death of a memory-less light bulb

*💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 &...

5 Monate ago

Solved

A Simple Tide Gauge with MATLAB

*∿ ∿ ∿ ∿ ∿ ∿ ∿ ∿* You are standing in a few inches of sea water on a beach. You a...

5 Monate ago

Solved

Pi Digit Probability

Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

5 Monate ago

Solved

The glass half full

Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

5 Monate ago

Solved

Is it really a 5?

A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...

5 Monate ago

Solved

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

5 Monate ago

Solved

Basic electricity in a dry situation

⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...

5 Monate ago

Solved

Spot the First Occurrence of 5

This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

5 Monate ago

Submitted

Binary Arithmetic Operations for Large Number

Basic binary arithmetic operation algorithms which can handle very large numbers.

5 Monate ago | 2 downloads |

Submitted

OpenSees-Matlab Interaction of Truss Example

This is example code on how to interact between OpenSees and Matlab

7 Monate ago | 7 downloads |

Solved

Find the nearest prime number

Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

10 Monate ago

Question

Is there a way to speed up the time for calling external program?

I am doing optimization problem. The objective function requires to call external program. But time for calling the program (0.1...

10 Monate ago | 0 answers | 0

Answered

Help !! How to use Genetic Algorithm for maximisation process as it is used for minimisation process?

Make the fitness function to be 1/f(x) where f(x) is your original maximization.

Help !! How to use Genetic Algorithm for maximisation process as it is used for minimisation process?

Make the fitness function to be 1/f(x) where f(x) is your original maximization.

10 Monate ago | 1

Answered

poisson regression using genetics algorithm

I dont really understand statistics and PR, but I think you can define the objective function as a function of PR variables whic...

poisson regression using genetics algorithm

I dont really understand statistics and PR, but I think you can define the objective function as a function of PR variables whic...

10 Monate ago | 1