How to make it finite?
Afficher commentaires plus anciens
I want to know the way to fix the erorr.
The error masage said that make the value finite.
There are four input state variables.
How can I fix it?
function set.State(this,state)
validateattributes(state,{'numeric'},{'finite','real','vector','numel',4},'','State');
this.State = double(state(:));
notifyEnvUpdated(this);
end
5 commentaires
Gargi Patil
le 11 Août 2021
Hi! Can you share the code for state as it is difficult to determine the cause of the error without knowing its values? You can use the function isfinite to find out which value(s) in state is(are) not finite and fix it accordingly.
ryunosuke tazawa
le 12 Août 2021
Gargi Patil
le 12 Août 2021
Hi! Can you kindly share the workflow or the parameter values that throw this error?
ryunosuke tazawa
le 13 Août 2021
Gargi Patil
le 13 Août 2021
Hi, a new question can be created for further queries about the results of the learning.
Réponses (0)
Catégories
En savoir plus sur Reinforcement Learning Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
