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

1 Ansicht (letzte 30 Tage)
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) ?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 20 Jul. 2020

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by