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

1 view (last 30 days)
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) ?

Accepted Answer

Walter Roberson
Walter Roberson on 20 Jul 2020

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!