search algorithm

M sequence generation program using a search algorithm in matlab

The following Matlab project contains the source code and Matlab examples used for m sequence generation program using a search algorithm. Maximum length sequence assuming distinct values = baseVal^powerVal-1         [ms]=mseqSearch(powerVal,baseVal)           OUTPUT:           ms: generated maximum length sequence, of length                     basisVal^powerVal-1 such that all values occur                     with equal frequency=basisVal except zero,                     which occurs basisVal-1 times              INPUT:   baseVal: any prime number up to 31

Particle Swarm Optimization Matlab Code

Particle swarm optimization (PSO) is a computational method that optimizes a problem by iteratively trying to improve a candidate solution with regard to a given measure of quality. PSO optimizes a problem by having a population of candidate solutions, here dubbed particles, and moving these particles around in the search-space according to simple mathematical formulae over the particle's position and velocity.

Subscribe to RSS - search algorithm