Réponse acceptée

KSSV
KSSV le 10 Mai 2021
You need to initialize the variable before the loop. Initialize using:
error_history = zeros([],1) ;
Note: Don't show your code as an image snippet.....you should copy paste it here.

2 commentaires

Liew Soon Chian
Liew Soon Chian le 10 Mai 2021
Got the error fixed. Many thanks.
KSSV
KSSV le 10 Mai 2021
It is not an error... it is a warning.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by