Replace "predopt" with "PSO" in neural network predictive controller

I want to change the Guassian Newton method used in the predopt optimizer to some metaheuristics like PSO, please how can I go about that?
I've got the predopt.m file attached and the PSO. I would be glad if a grateful heart can please help me edit it.
Please someone should help a MATLAB programming beginner like me. Thank you.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 13 May 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!