create a variable whose name is changed over iteration number in for loop ?

1 visualizzazione (ultimi 30 giorni)
I have my own function that able to build and train Time delay Neural network
[Trained_Model]=Train_RVTDNN(NN, Input, target);
% NN : NN specification
% Input : Input vector
% Target : Target vector
I wanna use for loop for training differnt network
for i=1:5
[Trained_Model]=Train_RVTDNN(NN, Input, target);
Model_i=Trained_Model;
end
How to create a variable whose name is changed over iteration number (Model_i) ?

Risposta accettata

Walter Roberson
Walter Roberson il 20 Lug 2020

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by