[Matlab] calculation examples of mean square error of single measurement, mean square error of arithmetic average, weighted most probable value, function fitting and modi diagram

1. Mean square error of single measurement and mean square error of arithmetic mean array = [ 120.0360 120.0390 120.0260 120.0270 120.0350 120.0360 120.0310 120.0250 119.9830 120.0410]; average = mean(array); r = array - average; error1 = (sum(r.^2)/(size(array,1)-1))^(1/2);%Mean square error of single measurement error2 = ...

Added by medaswho on Tue, 22 Feb 2022 13:58:39 +0200

Magical quantum world -- quantum genetic algorithm (implemented by Python&Matlab)

catalogue 1 important knowledge points 1.1 genetic algorithm 1.2 quantum computing 1.3 quantum genetic algorithm 2. Operation steps 3 flow chart 4 quantum genetic algorithm -- Python implementation 4.1 data 4.2 code 4.3 results 5 quantum genetic algorithm -- Matlab implementation            ​ 1 important knowledge points In ...

Added by jpaloyo on Tue, 22 Feb 2022 09:32:57 +0200

[RF classification] optimize random forest based on genetic algorithm to realize data classification, with matlab code attached

1 Introduction A data classification model based on genetic algorithm and random forest. 1. The basic principle of random forest random forest was proposed by Leo Breiman(2001). It uses bootstrap resampling technology to repeatedly randomly select # b samples from the original training sample set # N # to generate a new training self-help sam ...

Added by Angry Coder on Sun, 20 Feb 2022 11:20:36 +0200

[EMG signal] pulse signal analysis based on matlab GUI (denoising + feature extraction) [including Matlab source code phase 862]

1, Introduction EMG is a method of recording the electrical activity of muscle at rest or contraction with electronic instruments, and examining the excitation and conduction function of nerve and muscle with electrical stimulation. EMG for short. Through this examination, the functional state of peripheral nerve, neuron, neuromuscular junctio ...

Added by Q on Sat, 19 Feb 2022 10:09:27 +0200

[image registration] sift image registration and mosaic based on Matlab GUI [including Matlab source code 854]

1, Introduction SIFT, scale invariant feature transformation, is a description used in the field of image processing. This description has scale invariance and can detect key points in the image. It is a local feature descriptor. 1. SIFT algorithm features: (1) It has good stability and invariance, can adapt to the changes of rotation, scale s ...

Added by r3dk1t on Fri, 18 Feb 2022 20:37:45 +0200

[image defogging] histogram + retinex + dark channel image defogging [Matlab 739]

1, Introduction 1 Retinex 1.1 theory Retinex theory began with a series of contributions made by land and McCann in the 1960s. Its basic idea is that the color and brightness of a point perceived by human beings are not only determined by the absolute light entering the human eye, but also related to the color and brightness around it. Retinex ...

Added by motofzr1000 on Fri, 18 Feb 2022 20:03:06 +0200

[layout optimization] solving sensor coverage problem based on particle swarm optimization matlab source code, including GUI

1, Introduction 1 concept of particle swarm optimization algorithm Particle swarm optimization (PSO) is an evolutionary computing technology. From the study of predation behavior of birds. The basic idea of particle swarm optimization algorithm is to find the optimal solution through the cooperation and information sharing among individuals in ...

Added by ddevitt on Fri, 18 Feb 2022 07:18:10 +0200

[prediction model] solar radiation prediction based on matlab BP neural network [including Matlab source code 883]

1, Introduction 1 Overview BP (Back Propagation) neural network was proposed by the scientific research group headed by Rumelhart and McCelland in 1986. See their paper learning representations by Back Propagation errors published in Nature. BP neural network is a multilayer feedforward network trained by error back propagation algorithm. It ...

Added by wing_zero on Fri, 18 Feb 2022 06:43:08 +0200

Dynamic regular expression in Matlab

catalogue Dynamic regular expression brief introduction Dynamic matching expression - (?? expr) Modify the command matching the expression - (? @ cmd) Functional requirements of (@ cmd) Override command in expression - ${cmd} Dynamic regular expression brief introduction In a dynamic expression, you can require regexp to match. The ...

Added by shan169 on Mon, 14 Feb 2022 03:07:26 +0200

Meisai 8: simulated annealing algorithm, genetic algorithm, particle swarm optimization algorithm (intelligent algorithm)

catalogue First, Simulated annealing algorithm (SA). 1. Basic theory of SA 2.SA solves the maximum value of the function 3.SA toolbox 2, Genetic algorithm (GA) 1. Theoretical basis of GA 2.GA solves the maximum value of function 3.GA toolbox 3, Particle swarm optimization (PSO) 1. Knowledge of PSO algorithm 2.PSO algorithm design 3. ...

Added by justphpdev on Fri, 11 Feb 2022 11:54:03 +0200