Akzeptierte Antwort

KSSV
KSSV am 10 Mai 2021

0 Stimmen

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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 10 Mai 2021

Kommentiert:

am 10 Mai 2021

Community Treasure Hunt

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

Start Hunting!

Translated by