How to make it finite?
Ältere Kommentare anzeigen
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 Kommentare
Gargi Patil
am 11 Aug. 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
am 12 Aug. 2021
Gargi Patil
am 12 Aug. 2021
Hi! Can you kindly share the workflow or the parameter values that throw this error?
ryunosuke tazawa
am 13 Aug. 2021
Gargi Patil
am 13 Aug. 2021
Hi, a new question can be created for further queries about the results of the learning.
Antworten (0)
Kategorien
Mehr zu Reinforcement Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
