採用された回答

KSSV
KSSV 2021 年 5 月 10 日

0 投票

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 件のコメント

Liew Soon Chian
Liew Soon Chian 2021 年 5 月 10 日
Got the error fixed. Many thanks.
KSSV
KSSV 2021 年 5 月 10 日
It is not an error... it is a warning.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

質問済み:

2021 年 5 月 10 日

コメント済み:

2021 年 5 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by