MATLAB Answers

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) ?

  0 Comments

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!