Error Index Exceeds matrix dimension - Multi ANN and Multi output ANN optimization using PSO?

I would like to optimize the 3 input and 2 output using PSO. It is working for single output ANN. It is not working for multi-output ANN. How to solve the error "Index exceeds matrix dimensions"? How to set weights to ANN?

Answers (0)

Asked:

on 28 Mar 2022

Community Treasure Hunt

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

Start Hunting!