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

1 vue (au cours des 30 derniers jours)
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) ?

Réponse acceptée

Walter Roberson
Walter Roberson le 20 Juil 2020

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by