Tag:matlab
-
matlab image processing
1. Reading of pictures (below left) I=imread(‘Cute Cat.jpg’);%image read, here ” within the ‘path\name’, such as: ‘E:\examples\cute cat.jpg’ figure,imshow(I);%image display title(‘Original image’) 2. Convert to grayscale image (top right) I_gray=rgb2gray(I); figure,imshow(I_gray); title(‘Grayscale image’) One way to see if it is a grayscale image: disp(‘Output string’) % Outputs the string; ndims()% output matrix dimension, here […]
-
Particle Swarm Algorithm (PSO) Optimized BP Neural Network Predictive Regression – with code
catalogs Abstracts: 1.BP model neural network model 2. Particle Swarm Optimization Algorithm (PSO) pseudocode implementation 3. Particle swarm algorithm combined with BP neural network (PSO-BP) 4. Results of program operation 5. Matlab code for this paper Abstracts: BP neural network is a common multi-layer feed-forward neural network, this article through the particle swarm algorithm (PSO) […]
-
Dynamics model-based MPC trajectory tracking algorithm for unmanned vehicles and carsim+matlab co-simulation study notes
catalogs 1 Model derivation and algorithm analysis 1.1 Model derivation 1.1.1 Vehicle dynamics model 1.1.2 Linear time-varying prediction model derivation 1.2 Model Predictive Controller Design 1.2.1 Objective function design 1.2.2 Binding design 2 Code Parsing 2.1 Template framework 2.1.1 S-Function 2.1.2 mdlInitializeSizes function 2.1.3 mdlUpdates() function 2.1.4 mdlOutputs() function 2.2 MPC Algorithm Body Jacobi matrix a […]